javascript 日期时间日历:在单个输入字段中选择日期范围
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/14353337/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
datetime calendar : select date range in a single input field
提问by Satish Pandey
Is there a javascript datetimepicker that can selects 2 dates in a single input field. Like:
(Screenshot taken from google-analytics)
是否有可以在单个输入字段中选择 2 个日期的 javascript datetimepicker。喜欢:(
截取自 google-analytics 的截图)
Currently we need to use 2 form input fields to select date range.
目前我们需要使用 2 个表单输入字段来选择日期范围。
Is there any free datetimepicker that provides this functionality?
是否有提供此功能的免费日期时间选择器?
采纳答案by Jason Raines
This is what you're looking for: https://github.com/dangrossman/bootstrap-daterangepicker
这就是你要找的:https: //github.com/dangrossman/bootstrap-daterangepicker