Open vkelman opened 10 years ago
Not only timezone. Direct typing into field triggers weird behavior, like resetting time to 00:00:00 and spams erorrs to console. I thinks it's related with "second bad hack" - "override datepicker so it triggers an event when changing the input field". Personally I don't see reasons to this hack.
I display Timepicker using 'hh:mm:ss TT Z' format. If I type directly into an input box to which Timepicker plugin is attached, Timepicker reflects changes whenever it can recognize a value, otherwise values displayed in Timepicker stay. It's a reasonable behavior.
There is one exclusion: try to have "12/01/2012 10:52:14 AM -05:00", put a cursor to the right of it in input box and hit Backspace. Suddenly and automatically, a Zone changes to -12:00.
It's definitely a minor thing, but in case it's easy to fix...