Trent
eff83d0ab8
fix getDate bug and consistency in localizations
2011-05-24 06:36:05 -04:00
Trent
97fd6eb419
Fixed missing semicolons
2011-05-19 20:05:34 -04:00
Trent
8cbc6dc869
Added ThomasLangston pull request from master for different case am/pm
2011-05-19 19:44:39 -04:00
Trent Richardson
3649e6a830
Create new dev version
2011-05-12 13:36:37 -04:00
Trent Richardson
faf5a193be
Update Date
2011-05-12 13:31:22 -04:00
Trent Richardson
bc76b1cfcf
Update version
2011-05-12 13:30:16 -04:00
Trent Richardson
b36097718a
Add fix by jduff for inline display
2011-04-18 09:52:06 -04:00
root
c9be5b72e7
Cleaing some whitespace
...
Fixing show/hide time for calendar use case
2011-04-15 13:12:38 +02:00
Trent Richardson
4bca74de36
Revision of limit min/maxdatetime by voda
2011-03-23 08:48:57 -04:00
Bruno Harbulot
cc80af42fe
Preventing setting defaultDate on an empty input to set an (incorrect) input value.
2011-03-13 20:27:16 +00:00
Trent Richardson
caf2916169
Escape special chars as separator (fix by elzoiddy)
2011-03-11 09:41:39 -05:00
Trent Richardson
1a2a371deb
set function scope of this; pull request by janhartigan
2011-03-08 13:21:00 -05:00
Trent Richardson
960b7750e1
update last mod date
2011-03-02 11:38:16 -05:00
Trent Richardson
44e3322469
Update and cleanup
2011-03-02 11:36:54 -05:00
Trent Richardson
b23b6076fb
Merge timezone additions
2011-03-02 11:28:00 -05:00
Bruno Harbulot
33ca84c982
Fix for default timezone if missing.
2011-02-28 14:00:20 +00:00
Bruno Harbulot
9c5de29f1b
Added timezone selection.
2011-02-28 13:32:48 +00:00
kumm
bebdba2b25
Merge remote branch 'upstream/dev' into dev
2011-02-06 18:53:52 +01:00
kumm
1f57183f82
Refactor onSelect handler. Bind to grid onclick too.
2011-02-06 18:53:31 +01:00
Trent
03d141abb6
Updated version to 0.9.4 dev
2011-02-05 11:30:23 -05:00
kumm
b2a1d9440a
fix default hour,minute,second by changing init order
2011-01-23 12:35:49 +01:00
Trent Richardson
9efeb990d2
Fix bug where ampm is not displayed when first initiated
2011-01-19 16:26:46 -05:00
Trent Richardson
999803035f
Add enable and disable feature by wallenium. Feature not yet stable but doesnt impact rest of plugin
2011-01-19 16:01:33 -05:00
kumm
5d05d23fa6
Support datepicker onSelect handler.
2011-01-17 22:25:27 +01:00
Trent Richardson
44fc32ab44
Fix regex parsing with separator option
2011-01-05 10:00:57 -05:00
Trent Richardson
faec5be2c6
Added timepicker inst as parameter to relevant events
2011-01-05 09:43:38 -05:00
Trent Richardson
60ffcebe5c
Fix for altField option when using inline picker
2011-01-05 09:21:03 -05:00
Trent Richardson
c1d7c5a106
Fix parsing error per issue 72
2011-01-03 10:30:57 -05:00
Trent Richardson
a018a5611b
Bug with parsing time by separator
2010-12-30 10:14:54 -05:00
Trent Richardson
b7c14ce5f2
fix _onTimeChange to be more exact on if hour, minute, second exists. Use !== false
2010-12-28 14:08:00 -05:00
Trent
9f9e50d536
Updated dev version to 0.9.3-dev
2010-12-27 11:11:35 -05:00
Trent
e5408d82ac
Update Version
2010-12-27 11:06:52 -05:00
Trent
2680354991
Fixed bug of min/maxDate option not an instanceof Date
2010-12-27 11:03:51 -05:00
Trent Richardson
c00fa6d5da
Fixed !!date issue and can use only minDate or minDateTime as options
2010-12-22 10:36:27 -05:00
Trent Richardson
895d27f1de
Added change by mikedeco in _onTimeChange. Assures that hour, minute, second is numeric
2010-12-22 09:29:49 -05:00
Trent Richardson
3d53741ca4
Add fix by doublerebel to determine ampm inside onTimeChnage
2010-12-20 08:39:11 -05:00
Trent Richardson
c6f5819f13
Add separator to allowed key press, clean up
2010-12-17 10:58:58 -05:00
Trent Richardson
c851ceff76
Fixed altField, added altFieldTimeOnly for more customization
2010-12-17 10:50:58 -05:00
Trent Richardson
b394ee84ed
Added separator to formatted time output
2010-12-17 09:07:11 -05:00
Trent Richardson
b4805d6dcc
Merge changes from Michael Simons for separator options
2010-12-17 08:59:44 -05:00
Trent Richardson
ee16a9a1ca
Merge branch 'vorapoap-master' into dev
2010-12-17 08:49:07 -05:00
Michael J. Simons
a8c575a163
Added support for a date/time separator
2010-12-16 22:33:53 +01:00
Vorapoap L.
021967bd29
Fix so DateTime value is returned to the input field correctly.
2010-12-16 09:48:25 -08:00
Vorapoap L.
35cdf9add9
Fix so altField for timepicker mode also show time if altField is set
2010-12-16 09:31:15 -08:00
Vorapoap L.
2ec0a4e021
Fix so altField(if set) show both Date and Time
2010-12-16 09:07:52 -08:00
Trent Richardson
aeaaca9e13
Changed range check for minDateTime/maxDateTime
2010-12-15 15:51:12 -05:00
Trent Richardson
8e12e45779
Added minDateTime and maxDateTime options, however must still supply minDate/maxDate for datepicker
2010-12-15 10:47:36 -05:00
Trent Richardson
2f96131641
Tweaked how to call option methods
2010-12-14 09:06:26 -05:00
Trent Richardson
2084e23da9
Updated dev version
2010-12-13 14:47:36 -05:00
Trent Richardson
a4796f1922
Uncommented line from testing
2010-12-13 14:40:24 -05:00
Trent Richardson
b129814e0f
Merged changes by doublerebel, fixes get/setDate issues
2010-12-13 14:36:59 -05:00
Trent Richardson
f8cdfdebb3
Fixed get/setDate when picker initiated with selector of multiple fields
2010-12-13 14:32:22 -05:00
Trent Richardson
077e416044
Applied fix by monjudoh in _setDateDatepicker
2010-12-09 07:52:34 -05:00
Trent Richardson
678fa35243
Fixed getDate for timepicker if not yet been opened
2010-12-08 11:52:52 -05:00
Trent Richardson
a539339bc4
Fixed datepicker only getDate
2010-12-08 11:01:25 -05:00
doublerebel
454af7bcf0
Reset time to defaults when .datepicker('setTime') is called with no arguments
2010-12-05 17:19:27 -08:00
doublerebel
f31d5ecbeb
Change timepicker initialization to support setting/getting time/date before date/timepicker has been opened
2010-12-05 16:51:48 -08:00
doublerebel
aef1408c87
Set datepicker date from field before returning date for getDate method (Fixes Issue 44)
2010-12-05 14:54:38 -08:00
doublerebel
3ca9079892
Update text field when time is set with setDate or setTime methods (fixes bug I introduced in commit 496ee3a
for _onTimeChange)
2010-12-05 14:18:16 -08:00
doublerebel
48620930ab
Bugfix for correct timepicker injection
...
Prevents beforeShow from being called twice, which prevents injectTimepicker from being called twice
2010-12-05 14:04:57 -08:00
doublerebel
496ee3acfd
Bugfix for _onTimeChange to always format time and set timeDefined
2010-12-05 13:59:22 -08:00
doublerebel
e97d06e554
Bugfixes for _parseDate()
2010-12-05 13:54:32 -08:00
Trent
1f9e69c43c
Changed version to dev
2010-12-02 07:25:33 -05:00
Trent
27815082b5
Updated Version
2010-12-02 07:23:40 -05:00
Trent
c8681053ea
Merge branch 'dev' of github.com:trentrichardson/jQuery-Timepicker-Addon into dev
2010-12-02 07:14:12 -05:00
Trent
d842aca5c0
Updated Version
2010-12-02 07:13:20 -05:00
Trent Richardson
93d598238d
Merge branch 'DuctTapeMan-master' into dev
2010-11-30 14:47:45 -05:00
David Boike
3266d91cd9
Fixed an issue where a text field containing a time with hour 23 or minute 59 (the highest possible values) would cause the calendar date to reset to 1869 when the picker is displayed.
2010-11-30 13:32:36 -06:00
Trent
21c03b3477
Add dev branch
2010-11-29 19:27:55 -05:00
Trent
3d8b9dc193
Updated Version
2010-11-29 19:12:06 -05:00
Trent Richardson
539ef8daf4
fixed setDate
2010-11-29 08:45:54 -05:00
Trent
c0de1ae8e6
Added closeText incase datepicker localization isnt given
2010-11-27 14:35:24 -05:00
Trent
05b4937942
Merge branch 'doublerebel-master'
2010-11-27 14:17:02 -05:00
Trent
3abd96f50b
Save changes
2010-11-27 14:15:18 -05:00
doublerebel
ee83b6ffb7
Fix to apply regional settings from global defaults to new instance
2010-11-27 10:33:53 -08:00
Trent
e5ab6d1886
Fixed number replacement in _formatTime
2010-11-26 20:55:36 -05:00
doublerebel
c56e17047e
Changed _formatTime method to optionally take arguments and return a formatted time string
2010-11-26 16:25:26 -08:00
doublerebel
749e97b72a
Fix to prevent datetimepicker from closing when date is chosen (bug introduced in earlier commit)
2010-11-26 15:16:06 -08:00
doublerebel
4d6402ad97
Minor whitespace fixes
2010-11-21 16:02:51 -08:00
doublerebel
689ba11c35
Whitespace and getDate/setDate fixes
...
Extra tabs removed and line endings cleaned
getDate is now properly accessible from $(target).datepicker('getDate') and correctly returns date object with time
setDate is now properly accessible from $(target).datepicker('setDate') and can set both date and time
added new method setTime, accessible from $(target).datepicker('setTime')
calling .datepicker('setDate') with no date now sets the default date as in original datepicker code
time is set to default when calling .datepicker('setTime') with no time or calling 'setDate' with a date and no time
added new internal function _parseTime to parse string times from any source
2010-11-21 15:48:55 -08:00
doublerebel
badcc050c4
Fixed ampm constraint
2010-11-20 18:46:20 -08:00
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