Commit Graph

309 Commits

Author SHA1 Message Date
Valeriy
7d945b6024
Merge pull request #649 from HuBandiT/master
fix minTime/maxTime
2018-03-21 19:23:48 +05:00
Mike Kamermans
80b269bdb9
Update jquery.datetimepicker.js 2018-03-19 11:45:43 -07:00
Mike Kamermans
d443bae502
Update jquery.datetimepicker.js 2018-03-19 11:44:43 -07:00
Mike Kamermans
1956c8b4ba
Fix touch events crashing on desktop
Fixes https://github.com/xdan/datetimepicker/issues/636 by actually checking the event type for mouse vs. touch

Fairly critical bug because it's a guaranteed throw.
2018-03-19 11:42:45 -07:00
HuBandiT
d409dfa212 fix minDateTime/maxDateTime
UI FIXME: if you are on the day with the minDateTime/maxDateTime limit and your timebox lists only the times according to the limit, when you click on another day, the timebox is populated with all the newly allowed times, but the scrollbar does not update, so you cannot scroll to them using the scroll bar. if you click again on a day (any day), the scrollbar is updated correctly and you can select all times from the timebox again
2018-03-08 00:12:56 +01:00
HuBandiT
9eba6ad646 fix minTime/maxTime; improvement: timebox only contains time lines between minTime <= x < maxTime 2018-03-07 21:24:53 +01:00
Valeriy
4bbf1de9aa
Merge pull request #642 from nireno/fix_641
Fix issue #641
2018-02-16 15:06:43 +05:00
EThaiZone
b7be13d75e Make yearOffset to make it usable - Fix I used let - LOL 2018-02-15 17:17:26 +07:00
EThaiZone
ed8a1540bb Make yearOffset to make it usable 2018-02-15 17:11:21 +07:00
Niren Orie
8842bfe0f3 Re-introduce momentjs support via a predefined date formatter 2018-02-12 11:02:24 -04:00
Niren Orie
f006e96b62 Fix issue #641
This removes the reference to the global moment function. A custom masking function must now accompany any custom formatter configured via setDateFormatter. This will prevent moment.js from breaking pages that use the default formatter.
2018-02-09 18:26:55 -04:00
Alex Wijnholds
9484843502 Added support for not opening on focus 2018-01-19 15:01:33 +01:00
Stéphane Brunner
43c276b1a4 Set the Seconds and the Milliseconds on defaultTime 2018-01-10 10:09:04 +01:00
Valeriy
5fa7e7de97
Merge pull request #625 from KyleMit/master
Fixes #416 - Deleting selected values from the datepicker
2018-01-04 06:32:03 +05:00
Russell Glasser
a486c92379 Improve sensitivity of scrollable select boxes on mobile, so that some slight movement will not prevent selecting a value 2018-01-02 10:55:33 -06:00
Kyle
80e5790562
fixes #416 - handle selection length on delete 2017-12-20 16:10:23 -05:00
Kyle
b4e959a81c
fixes #416 - handle selection length on delete 2017-12-13 11:13:36 -05:00
Valeriy
c6816386e4
Merge pull request #609 from jaypatel512/patch-1
Go through all `if` condition to disable specific date
2017-11-21 18:10:18 +05:00
Valeriy
63441fde6d
Merge pull request #619 from rglasser27/fix-scrolling-for-mobile
Fix an issue with mobile scrolling
2017-11-21 18:04:07 +05:00
Russell Glasser
9ac780e651 Fix an issue on mobile, where touching a scrollable list of options would immediately select (and sometimes close) the month, year, or time instead of letting you scroll 2017-11-03 14:05:15 -05:00
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