-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Added support for a timeSeparator option #226
base: gh-pages
Are you sure you want to change the base?
Commits on May 6, 2014
-
Added support for a timeSeparator option
Looks like is working, can change ':' with dot '.'. For me is useful to integrate with java locales At line 766 don't know syntax to include separator dynamically in RegEx however there are only two separators in all java locales: ':' and '.'. Next step could be similar work for AM/PM symbol (eg: Arabic م Greek μμ) and (harder perhaps) AM/PM before or after time, in Chinese for example is before 下午9:21
Configuration menu - View commit details
-
Copy full SHA for 085024c - Browse repository at this point
Copy the full SHA 085024cView commit details
Commits on May 8, 2014
-
merged jdewit#222 AM / PM designators
with some changes for variable length... eg: Czech [dop., odp.]
Configuration menu - View commit details
-
Copy full SHA for 37ed869 - Browse repository at this point
Copy the full SHA 37ed869View commit details -
"When the time is greater than 11 you will notice that the meridian is ALWAYS AM when it should be PM." - Also if is true that if when use meridian there should be not an input hour > 12 is handy that is automatically understood and converted, in my opinion better than setting to 12 whatever hour > 12 is configured
Configuration menu - View commit details
-
Copy full SHA for 6aacb3e - Browse repository at this point
Copy the full SHA 6aacb3eView commit details -
fixed issue with 00:00 / 24:00
When setting hour to zero or 24 the time was incorrect. was setting hour to 23 when >=24 but should be zero. Now printing 25 controls with time from 0 to 24 gives correct results for all, in 24h mode, in 12h is still wrong: for 0 prints 01 AM (like for 1 and 24)
Configuration menu - View commit details
-
Copy full SHA for 496031e - Browse repository at this point
Copy the full SHA 496031eView commit details -
fix for 00:00 / 24:00 in 12h mode
Should be ok, 12 AM for both 0 and 24, with a little help from wiki.. http://en.wikipedia.org/wiki/12-hour_clock
Configuration menu - View commit details
-
Copy full SHA for 4aa7015 - Browse repository at this point
Copy the full SHA 4aa7015View commit details
Commits on May 9, 2014
-
Update bootstrap-timepicker.js
added configuration from data attributes with priority on code (code can change or remove them, so may re-obtain control), also a fix for 12 AM / PM (not zero) and a note for orientation (cannot reproduce yet)
Configuration menu - View commit details
-
Copy full SHA for 887b5b9 - Browse repository at this point
Copy the full SHA 887b5b9View commit details -
fixed AM / PM problem for arabic
Missed the regexp, now updated to match designator and not 'p', thought also that removing both ':' and '.' is ok.
Configuration menu - View commit details
-
Copy full SHA for c158912 - Browse repository at this point
Copy the full SHA c158912View commit details -
Added support for two digits hour
this should fix jdewit#219 jdewit#209 jdewit#208 jdewit#203, jdewit#209 has tests not yet included here JSBIN http://jsbin.com/xahux/3
Configuration menu - View commit details
-
Copy full SHA for 7a5a84a - Browse repository at this point
Copy the full SHA 7a5a84aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d8093cb - Browse repository at this point
Copy the full SHA d8093cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2325b26 - Browse repository at this point
Copy the full SHA 2325b26View commit details -
When the widget is localized is handy to read the ISO 8601 value [hh:mm:ss] http://en.wikipedia.org/wiki/ISO_8601#Times
Configuration menu - View commit details
-
Copy full SHA for 462296e - Browse repository at this point
Copy the full SHA 462296eView commit details -
Support return value from JQuery plugin methods
Noticed that calling getTime did not return the time but jquery object, plugin has still some magic for me but found this http://stackoverflow.com/a/17792070/1536382 and chose to return first item only
Configuration menu - View commit details
-
Copy full SHA for b11835c - Browse repository at this point
Copy the full SHA b11835cView commit details -
removed my code for data-attributes
didn't realize it was already there.. left some since have to update examples because names are different..they act for now as sort of preferred option, eg: data-am wins on 'standard-name' data-am-designator
Configuration menu - View commit details
-
Copy full SHA for d5f37b7 - Browse repository at this point
Copy the full SHA d5f37b7View commit details -
to know if am, only when showMeridian==true
Configuration menu - View commit details
-
Copy full SHA for 415d3b7 - Browse repository at this point
Copy the full SHA 415d3b7View commit details -
Added meridianSeparator and submitMode
**MeridianSeparator** is to support '.' for Albanian locale (sq, sq_AL). **SubmitMode** determines the value actually submitted with the form and has 3 values: 'default' (as before, untouched, same as display value) 'iso' (ISO8601, always with seconds) 'iso-auto' (ISO8601, with seconds only if displayed)
Configuration menu - View commit details
-
Copy full SHA for 06fec59 - Browse repository at this point
Copy the full SHA 06fec59View commit details
Commits on Sep 11, 2014
-
added suffix property, orientation fix
suffix is used only for Thai locale with value " น.", if is not present java DateFormat wont' parse the time (if has no seconds) merged also orientation
Configuration menu - View commit details
-
Copy full SHA for afe63ed - Browse repository at this point
Copy the full SHA afe63edView commit details
Commits on Oct 24, 2015
-
Configuration menu - View commit details
-
Copy full SHA for d21b578 - Browse repository at this point
Copy the full SHA d21b578View commit details