Commit Graph

592 Commits

Author SHA1 Message Date
Valeriy
aa7c31eecf Merge pull request #329 from malko/master
Add forgotten amd date-functions requirement
2015-09-25 10:12:13 +05:00
Jonathan Gotti
9c5032f22e Add forgotten amd date-functions requirement 2015-09-24 15:15:15 +02:00
extremumratio
630fc192cb fix source file link on test page 2015-09-24 12:50:32 +05:00
Valeriy
2aee1d70ff Merge pull request #325 from malko/dependencies_extract
Dependencies extract
2015-09-24 02:40:17 +05: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
89a7db8985 change locale on test page 2015-09-20 13:34:54 +05:00
extremumratio
c2851bc2a9 global setLocale, format date (D, l, M, F) for other languages 2015-09-20 13:20:25 +05:00
Valeriy
ab45c3e7ca Merge pull request #315 from andrewmnlv/master
fix: correct sequence of callbacks
2015-09-18 13:49:15 +05:00
andrewmnlv
4bb98138f0 fix: correct sequence of callbacks 2015-09-01 19:37:14 +03:00
Valeriy
4d3f206145 Merge pull request #314 from Telem/master
support mixed array for the values of highlightedPeriods
2015-08-24 16:17:27 +05:00
Valeriy
b27a47021f Merge pull request #312 from psyafter/patch-3
Scroll position at left in RTL layout
2015-08-24 15:58:08 +05:00
unknown
3e83c5cbea support mixed array for the values of highlightedPeriods 2015-08-24 12:55:31 +02:00
psyafter
1f67e3fad6 Scroll position at left in RTL layout 2015-08-20 17:33:19 +03:00
Valeriy
b3b1d7f931 Merge pull request #311 from RaKauf/patch-1
double-click on today button does not trigger change event
2015-08-19 19:10:47 +05: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
Valeriy
b9a3b235c8 Merge pull request #310 from psyafter/patch-2
Initial rtl layout support
2015-08-19 16:30:00 +05:00
Valeriy
2c0bc4d70d Merge pull request #309 from psyafter/patch-1
Add rtl layout support
2015-08-19 13:52:14 +05:00
psyafter
82fdd23b1e Initial rtl layout support 2015-08-19 11:48:50 +03: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
Valeriy
3641f66516 Merge pull request #308 from psyafter/patch-1
Align datepicker to right in RTL layout
2015-08-19 13:32:35 +05: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
Valeriy
0307d2290a Merge pull request #293 from cwinebrinner/master
Add license information to bower.json
2015-07-02 20:11:11 +05:00
Charles Winebrinner
eff7c64e77 Add license information to bower.json
The licensing information is useful for different automated tools,
including WebJars.org.  WebJars.org will not build and host a WebJar
for a project for which it cannot determine licensing.  It first looks
for licensing information in bower.json, but will attempt to determine
the license by looking at certain files (e.g., "LICENSE").
Unfortunately, datetimepicker's license file doesn't have a "standard"
name.  Also, I should mention that NPM is missing versions 2.4.1-2.4.3,
so an up-to-date version of datetimepicker cannot be built from NPM
using WebJars.org.
2015-07-02 09:56:06 -05:00
Valeriy
20ae53d28b Merge pull request #292 from jitbit/patch-2
Icelandic translation
2015-06-25 16:59:50 +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
Valeriy
2858d578ef Merge pull request #288 from Znow/master
Added disabledMinTime and disabledMaxTime
2015-06-22 15:56:07 +05: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
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
nurexmet
1d512a4231 added Uyghur ALanguage, width hss been changed" 2015-05-06 15:58:33 +06: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