javascript 日期和时间范围选择器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/15704140/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-27 01:47:36  来源:igfitidea点击:

Day and time range picker

javascriptjqueryhtml

提问by iguider

Could anyone recommend me a good time day (only the name - ex:Monday) and time range picker..

谁能推荐我一个美好的一天(只有名字 - 例如:星期一)和时间范围选择器..

I already tried http://pttimeselect.sourceforge.net/example/index.htmland http://haineault.com/media/jquery/ui-timepickr/page/but they don't have day selection..

我已经尝试过http://pttimeselect.sourceforge.net/example/index.htmlhttp://haineault.com/media/jquery/ui-timepickr/page/但他们没有日期选择..

anyone knows another one?

有人知道另一个吗?

回答by Johannes Klau?

I really like this one: http://ghusse.github.com/jQRangeSlider/

我真的很喜欢这个:http: //ghusse.github.com/jQRangeSlider/

It's highly customizable. Supports Dates, Integers and has a lot of options to fit it to your special needs.

它是高度可定制的。支持日期、整数并且有很多选项可以满足您的特殊需求。

回答by keithhackbarth

I seriously spent hours looking for something similar for our site ParkMe.com. It seems with all the implementations someone out there would have created one.

我认真地花了几个小时为我们的网站ParkMe.com寻找类似的东西。对于所有的实现,似乎有人会创建一个。

When I couldn't find anything, I spent the weekend writing my own. Here's what I came up with.

当我找不到任何东西时,我就用周末的时间写了自己的东西。这是我想出的。

http://keithhackbarth.github.io/jquery-datetime-picker/

http://keithhackbarth.github.io/jquery-datetime-picker/

https://github.com/keithhackbarth/jquery-datetime-picker

https://github.com/keithhackbarth/jquery-datetime-picker

Not trying to self plug.. just think I came up with a half decent solution.

不想自我插入..只是想我想出了一个不错的解决方案。