Bootstrap 日期和时间选择器 [英] Bootstrap date and time picker
问题描述
建议我使用任何 JavaScript 来选择日期和时间.
Suggest me any JavaScript to pick the date and time .
注意:我只想使用一个文件来选择日期和时间.
NOTE: I want to use only one file for date and time picking.
我已经看到了:
http://www.eyecon.ro/bootstrap-datepicker/
和
http://jdewit.github.com/bootstrap-timepicker/index.html
推荐答案
如果您仍然对 javascript api 来选择日期和时间数据感兴趣,请查看这些项目,它们是 bootstrap datepicker 的分支:
If you are still interested in a javascript api to select both date and time data, have a look at these projects which are forks of bootstrap datepicker:
第一个 fork 是对解析/格式化代码库的重大重构,除了提供使用鼠标/触摸选择日期/时间的所有视图外,它还具有一个掩码选项(默认情况下),允许用户快速输入日期/time 基于预先指定的格式.
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屋!