Bootstrap日期和时间选择器 [英] Bootstrap date and time picker

查看:162
本文介绍了Bootstrap日期和时间选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

建议我任何JavaScript来选择日期和时间



注意:我只想使用一个文件进行日期和时间选择。 p>

我已经看到这个:



http://www.eyecon.ro/bootstrap-datepicker/





http://jdewit.github.com/bootstrap-timepicker /index.html

解决方案

如果您仍然对javascript api感兴趣,以选择日期和时间数据,看看这些项目是自举日期戳的分支:



Bootstrap Datetime Picker 1





Bootstrap Datetime Picker 2



T他的第一个分支是解析/格式化代码库中的一个重构,除了提供所有视图以选择使用鼠标/触摸的日期/时间,它还有一个掩码选项(默认情况下),让用户快速键入基于日期/时间的以预先指定的格式。


Suggest me any JavaScript to pick the date and time .

NOTE: I want to use only one file for date and time picking.

I already see this:

http://www.eyecon.ro/bootstrap-datepicker/

and

http://jdewit.github.com/bootstrap-timepicker/index.html

解决方案

If you are still interested in a javascript api to select both date and time data, have a look a these projects which are forks of bootstrap datepicker :

Bootstrap Datetime Picker 1

or

Bootstrap Datetime Picker 2

The first fork is a big refactor on the parsing/formatting codebase and besides providing all views to select date/time using mouse/touch, it also has a mask option(by default) which lets the user to quickly type the date/time based on a pre-specified format.

这篇关于Bootstrap日期和时间选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆