Commit Graph

207 Commits

Author SHA1 Message Date
Valeriy
72ff0b43e5 Fix getComputedStyle for ie8 2015-07-03 14:26:21 +05:00
Valeriy
89668464a1 New version with some fixes by some pull requestes of some good developers 2015-07-03 11:58:31 +05:00
jitbit
830c39d672 Icelandic translation 2015-06-25 14:53:17 +03:00
Valeriy
4efcac11c4 Merge pull request #290 from 1bigidea/bugfix/date_selects_on_enter
Prevents default selection of Save Selected as submit button
2015-06-23 09:41:42 +05:00
Tom Ransom
b9c54a9441 Prevents default selection of Save Selected as submit button 2015-06-22 10:22:36 -07:00
Daniel
d6cefe6a61 Added opposite of minTime and maxTime, disabledMinTime and disabledMaxTime
Added 2 new properties, to make a period of time disabled by setting disabledMinTime and disabledMaxTime.

I needed a way, to have minTime and maxTime set, but also a specific period of time within minTime and maxTime to be disabled. This can now be set with disabledMinTime and disabledMaxTime.

Example:

minTime: 12:00
maxTime: 22:00

disabledMinTime: 13:00
disabledMaxTime: 20:00

Then the available time will be 12:00 - 13:00 and 20:00 - 22:00
2015-06-22 12:49:40 +02:00
jitbit
56b5046f96 Fix: the popup is closed on date-click if timepicker is disabled
When "timepicker" is disabled - the popup should close on date-click. The "if" was failing because of the type diff
2015-06-21 12:48:55 +03:00
Daniel
5613208dd1 Added disableWeekDays property.
Added this property to disable weekdays from an array of integers containing numbers 1-7.
2015-06-17 17:14:31 +02:00
illuminati-fin
c3181ceb09 Fixed parent positioning bug 2015-05-28 23:25:12 +03:00
Ali Özkan
bcd48d8056 strtodate fixed at home icon. 2015-05-12 14:09:43 +03:00
Sjoerd Job Postmus
3262fbdcb5 Use proper class names when options.weeks and options.className are both set.
When options.weeks is true, and options.className is set, the result is
that both are concatenated together without a space to separate them.

For future maintainability, I decided to split out the modifications to
the datetimepicker element into separate modifications to more cleanly
show intent.
2015-05-07 22:17:21 +02:00
Andrei
5ef92c20e1 Fixed: today button dbl click didn't validate date
The today (home) button show the current month. After the double click it selected the current date and closed the popup, not validating the current date against the specified minimum and maximum dates.
Now, if the current date is out of the allowed range, the popup stays visible, and the input value is not changed.
2015-04-30 11:08:55 +03:00
Valeriy
0103437140 Fix bug with minDate option and mistake Date.parse insted Date.parseDate 2015-04-22 13:26:36 +05:00
Valeriy
0b9de1cac0 Fix bug with defaultDate option 2015-04-22 11:24:52 +05:00
Murzal Arsya
af7cb92d3a fix dayOfWeek for Indonesian language so it starts on Sunday instead of Monday 2015-04-16 21:10:33 +07:00
ahrens
e9daab15ed added options to highlight individual dates or periods 2015-04-09 15:19:40 +02:00
snydesc
1a588559b8 Format should be applied to option value
The format should be applied to the value being set.
2015-04-01 10:53:52 -04:00
stuartwmurray
cc8001dfca Update jquery.datetimepicker.js
Date parsing is now case insensitive
2015-03-21 13:40:16 +11:00
Isabek
549ae74008 Added Kyrgyz months' names and days' names 2015-03-11 00:43:34 +06:00
r.marshevskyy
9dabc4089b Corrected Added option closeOnTimeSelect. 2015-02-26 13:42:47 +02:00
r.marshevskyy
8061c66738 Added option closeOnTimeSelect 2015-02-26 12:41:14 +02:00
r.marshevskyy
8cdc02d3bd Added botton 'Save Selected'. Option: showApplyButton 2015-02-25 13:25:47 +02:00
Valeriy
bede87d4cb Merge pull request #240 from u01jmg3/master
Fix to prevent times such as `12:60` instead of `13:00` when using an input of `xx:45 - xx:59`
2015-02-24 14:48:40 +05:00
Jonathan Goode
f6e7cda612 Fix to use tabs over 4 spaces as per rest of repo 2015-02-20 17:51:10 +00:00
Jonathan Goode
3fcbf2de99 Added the ability to call the validate logic from datetimepicker similar to reset 2015-02-20 17:44:09 +00:00
isaacws
00194569f4 Updated spaces to tabs to be consistent 2015-02-16 14:57:03 -06:00
isaacws
61b75960af Removed because never used 2015-02-16 14:49:28 -06:00
isaacws
0184c64c5a Fixed IE8 Issues when textbox is empty and navigation buttons are clicked 2015-02-16 14:48:56 -06:00
Jonathan Goode
9e12c43f68 Fix to prevent times such as 12:60 instead of 13:00 when using an input of xx:45 - xx:59 2015-02-16 14:55:22 +00:00
mykohsu
f1bbc8e21c Re-commit createNewFormat due to accidental revert
See comments here: https://github.com/xdan/datetimepicker/pull/229

Original commit comments: Function now returns unescaped string for format strings without any format specifies (including empty). See revision here: https://gist.github.com/mykohsu/5d37b58674dc13f9e78b
2015-02-13 18:23:20 -08:00
Jonathan Goode
3d9559c387 Added option to show/hide previous and next buttons as per today button
Added option to set start and end months as per years
2015-02-12 19:23:07 +00:00
Fabiano Oliveira
b5c46f69d9 Runtime error 2015-02-12 10:36:45 -02:00
Valeriy
d1d2c47d37 Update jquery.datetimepicker.js
Added Armenian language
2015-02-09 11:35:25 +05:00
Valeriy
caf24e62d0 Merge pull request #212 from tilast/custom-time-parsing
added parsing of time like from 0315 => 03:15
2015-01-30 16:30:05 +05:00
Valeriy
82945ad155 Revert "Updated createNewFormat function for Parse and Format library." 2015-01-30 16:11:04 +05:00
Valeriy
a50ab9e52d Merge pull request #218 from mykohsu/emptyformatpatch
Updated createNewFormat function for Parse and Format library.
2015-01-30 16:09:59 +05:00
Alexey Bobyrev
6d1661d834 Match weekend days properly
Set 'xdsoft_weekend' class on date only if it's weekend or matches to `options.weekends` array.
2015-01-05 23:38:48 +02:00
lampslave
2f357fa877 Do not check whether input is visible 2014-12-29 22:44:50 +03:00
Bob Mazanec
7c645e58d0 Create several datetimepickers with class selector
Fixes Issue #201 by moving _xdsoft_datetime declaration from
$.fn.datetimepicker() down into its createDateTimePicker()

With this fix, the next/prev month arrows work in all datetimepickers,
and not just the last.
2014-12-24 11:28:08 -06:00
mykohsu
049e7755a3 Updated createNewFormat function.
Function now returns unescaped string for format strings without any format specifies (including empty). See revision here: https://gist.github.com/mykohsu/5d37b58674dc13f9e78b
2014-12-22 13:36:17 -08:00
pete
e7f38dc52a Added minDateTime option for people who want to limit users to both a date and a time minimum. 2014-12-10 11:44:12 -05:00
Ihor Kroosh
e1c36b440b added parsing of time like from 0315 => 03:15 2014-12-10 12:46:37 +02:00
Valeriy
fff719389f added several languages 2014-11-16 02:28:37 +05:00
Valeriy
4d701140af adding new entries in the dictionary languages
Signed-off-by: gLUK00 <hidalgoemmanuel@gmail.com>
2014-11-15 20:47:22 +01:00
Valeriy
4c8f46ea8a added package.js 2014-11-01 07:04:59 +06:00
Valeriy
cd40ca7d3a Merge branch 'master' of https://github.com/xdan/datetimepicker 2014-10-26 17:31:34 +06:00
Daniel Ma
57f168baa0 Add ability to toggle datetimepicker 2014-10-24 13:48:43 -07:00
Valeriy
8d2ef17404 Added enterLikeTab option 2014-10-23 17:55:01 +06:00
Valeriy
f49674765a Added disabledDates options 2014-10-23 17:35:13 +06:00
Valeriy
ee7047e204 Fix behavior under iPad and iPhone 2014-10-23 17:25:50 +06:00