Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plans to include a time selector? #1

Closed
mgibbs189 opened this issue Oct 8, 2012 · 16 comments
Closed

Plans to include a time selector? #1

mgibbs189 opened this issue Oct 8, 2012 · 16 comments

Comments

@mgibbs189
Copy link

I know it's early in the game, but are you considering adding time selection as well?

@dbushell
Copy link
Member

dbushell commented Oct 8, 2012

Yes definitely! It will be on a forked version to avoid code bloat here and probably dependant on Moment.js

@mgibbs189
Copy link
Author

Cool! Any initial ideas on the time selection UI?

jQuery UI Timepicker uses 2 sliders, which works well, but has a pretty heavy dependency footprint.

@dbushell
Copy link
Member

dbushell commented Oct 8, 2012

I'm tentatively going to say within the next month! I made this to ultimately replace my use of jQuery UI date/time pickers.

@mgibbs189
Copy link
Author

@dbushell - I was asking about the User Interface, not the ETA :)

I've seen everything from dropdowns to flyout menus to sliders, and I was just curious as to which direction you were going to take.

@dbushell
Copy link
Member

dbushell commented Oct 9, 2012

@logikal16 ha oh right, must have assumed before reading!

Not thought about it yet, the sliders are nice but a bit fiddly to adjust. When I do some research I'll publish options in this thread. What's your preference?

@mgibbs189
Copy link
Author

Sliders work best of all the options I've tried. There's definitely still room for improvement though.

I've been tossing around the idea of a joystick button. Dragging up/down to adjust hours, and left/right to adjust minutes.

joystick button

@cemo
Copy link

cemo commented Oct 11, 2012

+1 for time support.

@stas
Copy link

stas commented Oct 16, 2012

I'm willing to buy a beer/coffee for the first one who requests a pull on this.

Regarding sliders vs select fields: +1 for selects, sliders suck at precision. Having a field where developers can adjust the available time-frame is more than enough (say every hour, every 5 minute to be available as an option).

@dbushell thanks a lot for the work so far!

@delianides
Copy link

+1 for selects, I've stopped using sliders for time input because people complained about them. Selects seem to be a much better way to go.

@mgibbs189
Copy link
Author

Any updates? Is the verdict to use time selection dropdowns?

This is the last issue preventing me from making a clean break from UI Datepicker / Timepicker.

@SilentImp
Copy link

+1 for time selectors

@stas
Copy link

stas commented Nov 14, 2012

Btw.
Current implementation of <input type="datetime"> in Opera

@rikkert
Copy link
Member

rikkert commented Mar 23, 2013

Time support will live in a fork.

@rikkert rikkert closed this as completed Mar 23, 2013
@noizyboy
Copy link

noizyboy commented Oct 7, 2014

Which fork contains the time support?

@owenmead
Copy link
Contributor

owenmead commented Oct 7, 2014

https://github.com/owenmead/Pikaday/

@noizyboy
Copy link

noizyboy commented Oct 7, 2014

Thanks @owenmead!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants