doublerebel
425b957de0
Check if ampm is enabled when constraining input
2010-11-20 18:44:25 -08:00
doublerebel
95a6ef2f44
Changed _doKeyPress to limit input characters correctly
...
based on timeFormat + a space + dateFormat
(now restricts am/pm correctly based on timeFormat)
2010-11-20 17:30:02 -08:00
doublerebel
ba7074fba1
Simplified keypress handling
2010-11-20 17:16:55 -08:00
doublerebel
25f8a6b46f
Fixed grid to start with minimum values (fixes Github Issue 38)
2010-11-20 16:33:56 -08:00
Trent Richardson
88a0b943bc
Corrected methods
2010-11-18 16:58:02 -05:00
Trent Richardson
5a598298de
accept change
2010-11-18 16:15:17 -05:00
doublerebel
b35a403218
Created _newInst fn to create 1 Timepicker per input when called on a jQuery collection
...
Fixed $buttonPanel typo
Consolidated .timepicker(), .datetimepicker() fns by using .apply()
Fixed == to === when comparing null and undefined in extendRemove fn (thanks JSLint!)
2010-11-18 12:14:46 -08:00
Trent Richardson
452e7e994a
Perm fix for daylight savings. The user is setting the time, its not programatically determined as in datepicker
2010-11-18 15:11:54 -05:00
Trent Richardson
6ab4dde85e
temp fix for daylight savings
2010-11-18 14:59:22 -05:00
Trent Richardson
92f1508c68
Fixed daylight savings bug i think
2010-11-18 14:45:26 -05:00
doublerebel
e402be7982
Whitespace and formatting corrections
...
Reuse jQuery obj for buttonPanel
var statement consolidation
Shortened default option code for $.fn.timepicker()
2010-11-18 11:21:46 -08:00
Trent Richardson
48f17b1f71
fixed all pass through methods to datepicker
2010-11-18 14:10:43 -05:00
Trent Richardson
294b8cf850
fixed getDate to return date
2010-11-18 14:05:06 -05:00
Trent Richardson
ba3d8a86bd
Fixed timepicker() to work with no params passed
2010-11-18 08:35:41 -05:00
Trent Richardson
ec7678e567
Fixed setting options, setDate
2010-11-16 11:35:30 -05:00
Trent Richardson
3a6666bb9e
Fixed altField option
2010-11-16 10:31:46 -05:00
Trent Richardson
ddc0a6af27
Fixed no button panel for multi-month calendar
2010-11-16 09:57:32 -05:00
Trent
e748c89061
Saved Version change
2010-11-15 19:25:24 -05:00
doublerebel
60b5c67216
Change from mixed Functional and OO style to primarily OO-style
...
Changed syntax and coding style to better fit jQuery UI's practices
Reformatted line breaks, braces, and spacing for consistency
Renamed variables and functions for consistency, using _ to denote private vars/fns
Shortened variable declarations whenever possible
Improved efficiency of jQuery object calls
Now operates on jQuery collections instead of just single elements
Fixed incorrect parentheses in new _getDate fn
Various bugfixes and cleaning
JSLint-verified (braces are unnecessary for single-line statements where a semi-colon is used properly)
Provides exact same functionality but is over 2.6K smaller!
2010-11-15 13:57:09 -08:00
Trent Richardson
911956f520
Fixed issue with dashes in input id
2010-11-15 14:33:48 -05:00
Trent Richardson
ba5abba099
Fixed undefined dp_inst.lastVal
2010-11-15 14:25:18 -05:00
Trent
b4c322c657
Tested bug fixes, incremented to version 0.8
2010-11-14 22:41:47 -05:00
Trent
ee2821c91d
Polished timepicker if numberOfMonths > 1
2010-11-14 22:19:01 -05:00
Trent
f1373940eb
Fixed if numberOfMonths is greater than 0
2010-11-14 22:12:55 -05:00
Joseph Huttner
5d2f41ab57
'options' to 'option'. I think this is a typo.
2010-11-14 18:15:58 -05:00
Trent Richardson
45985eebe0
default date if not set in _setDate
2010-11-12 07:55:32 -05:00
Trent Richardson
0c56593fb4
Run though jslint to clean up
2010-11-10 13:33:43 -05:00
Trent Richardson
23f19b76c3
added refresh to _setDate before actually setting date
2010-11-10 07:46:13 -05:00
Trent Richardson
d705098ff4
added _keyup event by TC
2010-11-09 07:48:43 -05:00
Trent Richardson
da98d6c3a1
Fix bug in setDate, still doesnt set properly before picker is shown
2010-10-27 12:53:30 -04:00
Trent Richardson
e5c7cfb697
Added changes by Mikko for time grid and altField
2010-10-21 08:32:23 -04:00
Trent Richardson
a9dff8466d
Return jquery object at the end of initialization
2010-10-21 07:52:23 -04:00
Trent Richardson
66b95d8bdc
integrated get/setDate functions from datepicker
2010-10-08 15:19:49 -04:00
Trent Richardson
d15881eb3c
Update version
2010-10-08 11:32:41 -04:00
Trent Richardson
7d5c40f805
Adjusted grid to start at Min options
2010-10-08 11:31:15 -04:00
Trent
990c283fd7
increment version to 0.7
2010-10-07 18:01:39 -04:00
Trent Richardson
30fffefcff
Adjust css
2010-10-07 11:43:51 -04:00
Trent Richardson
f95b58c885
Adjust css
2010-10-07 11:36:38 -04:00
Trent Richardson
8a5c7a4161
Fixed syntax error preventing minify
2010-10-07 11:01:57 -04:00
Trent Richardson
94ea439217
Fixed altField implementation
2010-10-07 10:28:16 -04:00
Trent Richardson
6ae78e06be
Added time grid and altField by MK
2010-10-07 09:13:14 -04:00
Trent Richardson
43f319fa6c
fixed issue going from 11am to 12pm
2010-10-01 10:00:36 -04:00
Trent Richardson
6e55e5fc6a
fixed 12am display bug
2010-10-01 08:03:59 -04:00
Trent
0851f323a9
fixed date format bug
2010-09-26 21:37:42 -04:00
Trent
675043dfd0
Added change event trigger by jblaster
2010-09-26 21:15:07 -04:00
Trent Richardson
2d641af90d
Now displays inline
2010-09-22 14:59:29 -04:00
Trent Richardson
a06a031f69
Fixed issues to falling back to plain datepicker
2010-09-21 12:02:59 -04:00
Trent Richardson
f49992774e
Fixed if input is cleared dont apply time
2010-09-21 10:41:10 -04:00
Trent Richardson
564348cd56
Applied patches by vhostein, gave unique id (css changes to classes)
2010-09-21 09:24:21 -04:00
Trent Richardson
a4f3cf111f
Changed Today button to Now (localized) and Now button includes time
2010-09-20 16:17:50 -04:00
Trent Richardson
4f75af447c
Merge branch 'master' of github.com:trentrichardson/jQuery-Timepicker-Addon
2010-09-20 16:15:36 -04:00
Trent Richardson
984387b0db
Changed timepicker Today localization to Now, now updates date and time on click
2010-09-20 16:07:24 -04:00
Trent
c4402c7f04
Corrected error calling datepicker dateFormat
2010-09-15 22:25:33 -04:00
Trent Richardson
db4a4a8b10
updated default localization
2010-09-15 14:11:51 -04:00
Trent Richardson
763bb27cf2
Added localization default text
2010-09-15 13:11:57 -04:00
Trent Richardson
6f33592880
add min/max ranges for times
2010-09-15 11:54:21 -04:00
Trent Richardson
bd5442de72
apply reported getDate bug
2010-09-15 11:26:13 -04:00
Trent Richardson
c9ff8007fd
fixed regex to parse time and fixed timeOnly bug
2010-09-15 10:15:50 -04:00
Trent Richardson
1dd304b2f9
Removed unneeded commas breaking IE and updated to vhochstein localization contributions
2010-09-15 09:42:39 -04:00
Trent Richardson
c9eb9eff5a
Updated Last modified date
2010-09-01 14:50:27 -04:00
Trent Richardson
44a17de112
Updated from jozsika
2010-09-01 14:48:13 -04:00
Trent Richardson
62e19e68c4
added timepicker script
2010-07-02 08:08:21 -04:00