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

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

问题描述

建议我使用任何 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:

Bootstrap Datetime Picker 2

第一个 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屋!

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