Russell Glasser
68fa53992c
Reverting this line to an older version. The change is breaking the time selection when using the "step" option.
2017-11-03 13:55:56 -05:00
Jay
20a5e4cae0
Go through all if
condition to disable specific date
...
- Fixes https://github.com/xdan/datetimepicker/issues/608
2017-10-15 00:38:11 -05:00
Chupurnov Valeriy
9de4639abf
New version 2.5.9
2017-10-12 14:38:30 +05:00
Chupurnov Valeriy
a60a0db679
New version 2.5.8
2017-10-12 14:27:24 +05:00
Chupurnov Valeriy
b7dc5fe1d3
Buy bower!
2017-10-12 14:22:05 +05:00
Chupurnov Valeriy
6f86f8c9ca
New version 2.5.5
2017-10-12 13:18:22 +05:00
Valeriy
b5443286af
Merge pull request #579 from bunhann/master
...
Fix Khmer Language Spelling
2017-10-12 12:34:04 +05:00
Alex Melnikov
4cdabdc530
The picker's offsetHeight is not calculated correctly when calendar is not generated.
...
If options.allowBlank is true, "setPos" does not set the picker position over the input field
when the input field is at the bottom of a page.
2017-06-07 14:52:41 +05:00
Bunhann
84932f2b97
Fix Khmer Language Spelling
2017-05-18 10:45:53 +07:00
Valeriy
1525c13027
Merge pull request #464 from andrewmnlv/master
...
fix: currentTime can't be null for inline mode
2017-05-12 10:04:18 +05:00
Valeriy
f605b88f5d
Merge pull request #541 from devcronberg/patch-1
...
Update danish translation
2017-05-12 10:02:56 +05:00
Valeriy
be197b1f87
Merge pull request #536 from MengtiSun/patch-1
...
#453 Setting input as readonly still allows the user to use the datetimepicker UI
2017-05-12 10:02:12 +05:00
Valeriy
0fd356f337
Merge pull request #269 from nurexmet/master
...
added Uyghur ALanguage, width hss been changed"
2017-05-12 10:00:49 +05:00
Valeriy
010a78c564
Merge pull request #572 from socheatsok78/master
...
Add Khmer translation
2017-05-12 09:58:03 +05:00
Valeriy
e13f3c2096
Merge pull request #574 from ed9/master
...
Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'
2017-05-12 09:57:49 +05:00
Adrian W
b9827fe43f
Fixed issue #575 from xdan repository - setPos lost positioning feature
2017-05-10 09:37:24 +02:00
Edgars Kohs
0083f04c7d
When an element that has been connected to datetimepicker object has been dynamically removed due to dynamic content changes the javascript starts throwing errors on window resize events regarding getComputedStyle receiving nulls in its 0 argument. Re-check the value before calling resolves the issue.
2017-05-07 17:31:31 +07:00
Socheat Sok
0e5cf097ef
add khmer translation
2017-04-25 11:12:33 +07:00
devcronberg
62191e8199
Update to danish translation
...
Some month names where spelled incorrectly
2016-12-16 18:59:22 +01:00
MengtiSun
663a9461fc
#453 Setting input as readonly still allows the user to use the datetimepicker UI
2016-12-07 10:36:38 +11:00
Sergey Yastrebov
962ed78566
iframe support
2016-05-30 19:28:34 +03:00
andrewmnlv
822827f439
fix: currentTime can't be null for inline mode; remove unused throttle var
2016-05-23 17:36:42 +03:00
Edmond Chui
47f23964e2
Fix typo mounth
...
Change all occurrences of ```mounth``` to ```month```.
2016-05-20 10:48:47 -07:00
Chupurnov Valeriy
d35c53dd59
New version 2.5.4
2016-05-20 00:46:42 +05:00
Valeriy
ac1b591a96
Merge pull request #457 from xdan/revert-455-master
...
Revert "Normalized scroll sensibility"
2016-05-20 00:41:08 +05:00
Fede Bruchmann
a42e0e416f
Added missing var definition
2016-05-19 13:49:14 -03:00
Valeriy
fab41c89ea
Revert "Normalized scroll sensibility"
2016-05-19 13:14:24 +05:00
Fede Bruchmann
ee1e2a275f
Normalized scroll sensibility
2016-05-18 15:46:09 -03:00
Sören Liebich
a102ce5a89
Today button not working anymore
...
Fixed a problem with the today button which is not working anymore. As
far as I could figure out the reason is
"XDSoft_datetime.prototype.setCurrentTime" which is now setting the
current time to null which doesn't reset the displayed date. Also double
clicking on the today button wasn't working because the "currentDate"
variable is null.
2016-05-10 03:59:43 +02:00
tobiasviehweger
630ab13931
Allow blank values if 'options.allowBlank' is set
2016-04-26 14:18:18 +02:00
Vasiliy Zverev
2266845f52
show parsed date/time to user after validation
...
https://github.com/xdan/datetimepicker/issues/425
2016-04-06 16:45:46 +03:00
Chupurnov Valeriy
c8dd8efe17
New version 2.5.3 Fix devDependencies with concat-cli
2016-04-02 00:56:51 +05:00
Chupurnov Valeriy
f4c063f13a
New version 2.5.2 Fix devDependencies with concat-cli
2016-04-02 00:55:55 +05:00
Valeriy
b182ddf000
Merge pull request #421 from JSoon/jsoon
...
Fix bug: $.css method conflict with css3 transition
2016-03-25 14:53:18 +05:00
jsoon
64b031c98b
Fix bug: $.css method conflict with css3 transition
2016-03-25 17:33:52 +08:00
Valeriy
ab609606f9
Merge pull request #417 from Sibz/Sibz-patch-mask-exception
...
Fix exception when mask isn't set or is false.
2016-03-25 00:13:35 +05:00
Valeriy
bdb764af90
Merge pull request #418 from OOO-Technology/georgian
...
add Georgian translation
2016-03-25 00:11:55 +05:00
Thomas Wana
70fa598cf0
Allow the date formatter to be set from external
2016-03-24 10:36:25 +01:00
Vitaliy Kotov
585154c55a
add Georgian translation
2016-03-24 13:22:19 +05:00
Steven
ef522190fb
Fix exception when mask isn't set or is false.
...
Added an additional check to ensure options.mask is a string as it is set to false when not using masks.
Fixes #414
2016-03-24 19:56:14 +13:00
Dan Bettles
33d1338268
The vertical position of the picker is completely reset before the new position is applied to prevent interference from previous values.
2016-03-11 12:48:34 +00:00
Dan Bettles
1b4fad11b3
The picker is positioned correctly when the date input resides within a fixed container: the picker is displayed above the date input when there is insufficient room beneath the input. Also: added a couple test pages; normalized indentation in the JavaScript; fixed a couple warnings raised by the build script.
2016-03-11 12:21:12 +00:00
Valeriy
6a6db42e10
Merge pull request #408 from bllkrkmz/master
...
#404 not selectable for readonly input element
2016-03-05 23:53:44 +05:00
Rodolfo Ospina Rojas
6e0f1a6365
The mask is now a valid date when validate on blur is active. Also the mask now displays every time you focus the field instead of just the first time
2016-03-01 09:14:46 -05:00
Bilal Korkmaz
6cc19d56d2
#404 not selectable for readonly input element
2016-02-29 13:43:02 +02:00
beisetho
fa82ac3a09
fix for allowDateRe and allowDates
...
Replaced
start.dateFormat(options.formatDate) with dateHelper.formatDate(start, options.formatDate)
2016-02-27 18:20:50 +01:00
Maze-fr
5d5fb81a3e
Support for Moment.js formats
...
When using Moment.js to format dates, the syntax is not the same as the default one :
http://momentjs.com/docs/#/parsing/string-format/
So, parsing something like "DD/MM/YYYY HH:mm" to build the mask ends with a wrong mask that fails when testing with "isValidValue" function, resulting in replacing the value of the input field with the wrong mask that was built just before.
2016-02-25 14:22:07 +01:00
Chupurnov Valeriy
bd4f97e128
New version 2.5.1
2016-02-24 18:57:25 +05:00
Chupurnov Valeriy
fa26114133
Fix bower dependencies
2016-02-24 18:56:51 +05:00
Chupurnov Valeriy
d7666521eb
Added getValue method. Update documentation
2016-02-19 14:36:02 +05:00
Chupurnov Valeriy
cb8086ebfc
Fix package.json. Use jquery.datetimepicker.full.min.js how main file
2016-02-18 18:39:24 +05:00
Chupurnov Valeriy
102d60b41d
In bower was added datetimepicker.full.js
2016-02-16 23:49:53 +05:00
Chupurnov Valeriy
ce700250a0
Added doc.tpl Please update it
2016-02-14 05:44:32 +05:00
walteruzzu
bfc14e86fc
Adjust getWeekOfYear to ISO8601 standard
...
First week of the year is th one with the first Thursday according to ISO8601
2016-02-02 13:07:56 +01:00
J.Soon
e0d2c27e63
Bug fixed - The datetimepicker will overflow-y when the width of the date input less than its, which could causes part of the datetimepicker being hidden.
2016-02-01 18:00:49 +08:00
Valeriy
68dc8005f5
Merge pull request #378 from tcmug/weekofyear
...
Add a callback for getWeekOfYear command, onGetWeekOfYear.
2016-01-22 10:50:23 +05:00
Teemu Merikoski
732e421bff
Add a callback for getWeekOfYear command, onGetWeekOfYear.
2016-01-21 10:50:25 +02:00
xiaoyu5256
7178b48c30
add feature allow date by regex
2016-01-18 12:43:36 +08:00
xiaoyu5256
4d1c6b7b26
add allowdates option
2016-01-08 12:30:45 +08:00
extremumratio
f4d0e46691
use php-date-formatter
2015-12-28 22:37:09 +05:00
artragis
f79207e55f
Add Predifined datetime format that jqueryUI datepicker supports
2015-12-28 14:05:24 +01:00
Marc Sommerhalder
dbf3e21e60
Add Romansh translations
2015-12-17 09:19:04 +01:00
Marc Sommerhalder
972e9d6888
Replace spaces with tabs
2015-12-17 09:18:25 +01:00
Evan Vandegriff
765127ee80
fix setting position to the sometimes incorrect datetimepicker element position
2015-12-15 12:06:28 -05:00
Dennis Marschner
1f1004ddb2
Fixed "tablike"-behavior to include button- and a-Tags
2015-11-30 09:21:50 +01:00
Saugat Acharya
2626db5426
Fix caret position when lazyInit and mask is set to true.
...
Currently when lazyInit and mask is set to true, caret position will be set at the end. This makes it unable to type the date unless we move the cursor back to the start.
I am not exactly sure if this is the correct place to do it but it works as expected.
2015-11-16 23:59:28 +05:45
Sid Spencer
c2d57c4b4d
Add touch support for iOS.
2015-10-08 14:28:21 -07:00
extremumratio
f8a2c0810e
Fix issue #333
2015-09-30 22:15:43 +05:00
Jonathan Gotti
9c5032f22e
Add forgotten amd date-functions requirement
2015-09-24 15:15:15 +02:00
Jonathan Gotti
f910a50ffd
Add a 'npm run build' command
2015-09-23 16:14:03 +02:00
Jonathan Gotti
a9c7b81bf1
UMD module definition
2015-09-21 18:21:36 +02:00
Jonathan Gotti
228f5f4e81
extract date and mousewheel dependencies
2015-09-21 17:54:30 +02:00
Valeriy
9090478658
Merge pull request #323 from extremumratio/master
...
Date format. Support i18n + D, l, M, F php style format characters.
2015-09-21 08:26:03 +05:00
extremumratio
c2851bc2a9
global setLocale, format date (D, l, M, F) for other languages
2015-09-20 13:20:25 +05:00
andrewmnlv
4bb98138f0
fix: correct sequence of callbacks
2015-09-01 19:37:14 +03:00
unknown
3e83c5cbea
support mixed array for the values of highlightedPeriods
2015-08-24 12:55:31 +02:00
RaKauf
092de053a1
double-click on today button does not trigger change event
...
Double-clicking on the "today button", which changes the value of the input to the current date and time, does not trigger a change event. Manually selecting a date or a time does trigger a change event. Proposed edit makes this behavior consistent.
2015-08-19 15:45:36 +02:00
Valeriy
d070799dc8
Merge pull request #307 from SpoonNZ/patch-1
...
Allow maxDate in past or minDate in future
2015-08-19 16:31:14 +05:00
psyafter
915fe4c13f
Add rtl layout support
...
new option: rtl (bool)
it true => add xdsoft_rtl css class to widget
2015-08-19 11:47:23 +03:00
psyafter
1f6619864e
Align datepicker to right in RTL layout
2015-08-19 11:23:00 +03:00
SpoonNZ
1b9d58d2b7
Allow maxDate in past or minDate in future
...
Beforehand the maxDate was only allowed to be the current date (+1970/01/01) or a date in the future (e.g. +1970/01/10). You couldn't set the maxDate to yesterday (e.g. -1970/01/02) or earlier in a logical manner.
All the functionality is in there, just needed the regex opened up to check for a plus or a minus at the start of the maxDate and minDate variables and parse them if present.
2015-08-18 12:25:39 +12:00
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
nurexmet
1d512a4231
added Uyghur ALanguage, width hss been changed"
2015-05-06 15:58:33 +06: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