Commit Graph

406 Commits

Author SHA1 Message Date
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
Daniel
26fd11d74f Merge pull request #1 from xdan/master
Updated
2015-06-22 12:41:45 +02:00
Valeriy
f7aae11065 Merge pull request #286 from jitbit/patch-1
Fix: the popup should be closed on date-click if timepicker is disabled
2015-06-22 09:24:42 +05: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
Valeriy
ba9fd43a8a Merge pull request #283 from Znow/master
Added disableWeekDays property.
2015-06-18 10:41:40 +05: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
Valeriy
39d8f7c9a0 Merge pull request #279 from illuminati-fin/master
Fixed parent positioning bug
2015-05-29 11:07:50 +05:00
illuminati-fin
c3181ceb09 Fixed parent positioning bug 2015-05-28 23:25:12 +03:00
Valeriy
794e64b20f Merge pull request #273 from aliozkan/master
strtodate fixed at home icon.
2015-05-12 16:22:05 +05:00
Ali Özkan
bcd48d8056 strtodate fixed at home icon. 2015-05-12 14:09:43 +03:00
Valeriy
07b0515b7d Merge pull request #271 from sjoerdjob/weeks_classname_fix
Use proper class names when options.weeks and options.className are both set.
2015-05-08 10:25:42 +05: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
Valeriy
e864c5a260 Merge pull request #268 from JustAndrei/master
Fixed: today button dbl click didn't validate date
2015-04-30 14:35:33 +05: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
084332229e Fix bug with minDate option and mistake Date.parse insted Date.parseDate 2015-04-22 13:28:36 +05: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
Valeriy
ba7d4ef6f5 Merge pull request #265 from arsya/id_dayofweek
Fix dayOfWeek for Indonesian language
2015-04-16 20:13:35 +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
Valeriy
d977ea5d4d Merge pull request #262 from Mingpao/master
Highlight dates and periods
2015-04-09 20:18:58 +05:00
ahrens
e9daab15ed added options to highlight individual dates or periods 2015-04-09 15:19:40 +02:00
ahrens
ce733b7e57 added css elements to highlight dates 2015-04-09 15:17:59 +02:00
ahrens
c99f6d5f26 highlighted dates: updated doc with screenshots 2015-04-09 15:12:43 +02:00
ahrens
34c4348e98 highlighted dates: new screenshots 2015-04-09 15:12:04 +02:00
Valeriy
5881907710 Merge pull request #257 from snydesc/master
Format should be applied to option value
2015-04-06 11:05:13 +05: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
Valeriy
98d589d700 Merge pull request #255 from stuartwmurray/datetimepicker-insensitivity
Date parsing is now case insensitive
2015-03-23 17:36:55 +05:00
stuartwmurray
cc8001dfca Update jquery.datetimepicker.js
Date parsing is now case insensitive
2015-03-21 13:40:16 +11:00
Valeriy
772aed0de5 Merge pull request #249 from Isabek/kyrgyz
Added Kyrgyz months's names and days's names.
2015-03-11 11:08:16 +05:00
Isabek
549ae74008 Added Kyrgyz months' names and days' names 2015-03-11 00:43:34 +06:00
Valeriy
15a9d814c6 Merge pull request #247 from OFFLINE-GmbH/master
added min-width property for buttons
2015-03-01 01:01:56 +05:00
Tobias Kündig
06635709d2 added min-width property for buttons 2015-02-28 14:10:46 +01:00
Valeriy
b885910a1c Merge pull request #245 from Marshevskyy/applyButton
Added option closeOnTimeSelect
2015-02-26 17:01:35 +05: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
Valeriy
79f1c8e27e Merge pull request #244 from Marshevskyy/applyButton
Corrected border button 'Save Selected'
2015-02-25 20:49:12 +05:00
r.marshevskyy
f48d5ee669 Corrected border botton 'Save Selected'. 2015-02-25 17:27:03 +02:00
Valeriy
ab8bb553c4 Merge pull request #242 from Marshevskyy/applyButton
Added botton 'Save Selected'. Option: showApplyButton
2015-02-25 16:55:41 +05: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
Valeriy
2f084c59b6 Merge pull request #238 from isaacws/master
Fix for IE8 issue #41
2015-02-17 11:21:52 +05: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
Jonathan Goode
0bd0187d41 Addition of styling to prevent highlighting if hovered over selection is disabled 2015-02-15 19:29:13 +00:00
Jonathan Goode
7b0ba1f610 Tidy up - addition of spaces/carriage returns 2015-02-15 19:19:49 +00:00
Valeriy
7e4055ebdd Merge pull request #235 from mykohsu/mykohsu-emptyformatpatch#2
Re-commit createNewFormat due to accidental revert
2015-02-15 02:03:51 +05:00