Commit Graph

630 Commits

Author SHA1 Message Date
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
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