Commit Graph

626 Commits

Author SHA1 Message Date
Frank Jania
f6b1fea7f0 Fix for issue #44
When you set the month in JS, if the current day is greater than the number
days in the new month, the date will be updated to acccount for that by
bumping the date out to the next month.

e.g. (Jan 30).setMonth(1) will result in Mar 2 since Feb only has 28 days.

The proposed fix sets the date first to be never more than the potential
number of days in the month, then sets the month.

Also, for direct access to the month, we set the desired day first THEN
the desired month. This accounts for the case where you are on Jan 30, then
hit the "1" for February and it jumps to march.
2014-01-30 16:13:06 -05:00
Valeriy Chupurnov
8ff155bfb1 Doc chinese 2014-01-19 18:35:34 +06:00
Valeriy
6fbc845fae Merge pull request #37 from a90120411/patch-1
Add support for Simplified Chinese
2014-01-19 02:57:41 -08:00
a90120411
d1a1c9b4e2 Add support for Simplified Chinese 2014-01-19 12:01:57 +08:00
Valeriy
ee45eae96f Merge pull request #36 from nicolasiensen/master
Add portuguese support
2014-01-14 19:56:48 -08:00
Nícolas Iensen
90bed81212 Add portuguese support 2014-01-14 15:37:31 -02:00
Valeriy
10040ca6cf Added classes
Added classes xdsoft_day_of_week0-xdsoft_day_of_week9 in datepicker
2014-01-14 13:22:56 +06:00
Valeriy
ecf3d50804 Fix style for ie7 2014-01-14 09:46:17 +06:00
Valeriy
e52e7cb3c0 Fix button style for lower ie8 2014-01-14 09:40:30 +06:00
Valeriy Chupurnov
72619bc46b sorry 2014-01-13 00:07:52 +06:00
Valeriy Chupurnov
72e400dca1 New version 2.1.6
Fixed bug with scroller hidden inline mode
2014-01-13 00:02:26 +06:00
Valeriy
edeae329a5 Update README.md 2014-01-12 18:49:01 +06:00
Valeriy
fb878c2b67 Merge pull request #34 from bpiec/master
Polish locale
2014-01-12 04:38:31 -08:00
Bartosz Piec
4865f287d9 Polish locale 2014-01-12 13:34:31 +01:00
Valeriy
6eba0b912f Merge pull request #30 from dynamicnet/master
Positionning bugfix #19
2014-01-09 09:54:28 -08:00
David TOUREL
97ec0685d0 Positionning bugfix #19 2014-01-09 17:21:02 +01:00
Valeriy
49980e452e Fix CSS bug 2014-01-09 14:30:11 +06:00
Valeriy
196496b307 new version 2.1.5
Added th - Thai i18n
Added options yearOffset for Buddhist era
2014-01-09 14:21:23 +06:00
Valeriy
0df3b7e420 new version 2.1.4
Fix bug with setOptions({value:'2011/12/11 12:00'})
2014-01-09 12:54:36 +06:00
Valeriy
e22f12f2a8 fix bug for firefox 2014-01-09 10:09:17 +06:00
Valeriy
faf988866e new version 2.1.3
Added es i18n
Update doc
Update bower.json
2014-01-09 10:06:08 +06:00
Valeriy
3b13c29ce4 update doc 2014-01-09 09:47:26 +06:00
Valeriy
142defe1b7 update bower.json 2014-01-09 09:44:08 +06:00
Valeriy
f5480f83fc Merge pull request #29 from josecols/master
Added spanish translation
2014-01-08 19:07:11 -08:00
josecols
b979d5a718 Added spanish translation 2014-01-08 18:28:19 -04:30
Valeriy Chupurnov
8bfe52e748 added bower.json for bower support 2014-01-08 22:54:58 +06:00
Valeriy Chupurnov
5ab993129a New version 2.1.2 2014-01-08 20:35:47 +06:00
Valeriy
17e017c688 Merge pull request #28 from borc/master
Allow empty internal value if options.allowBlank is true
2014-01-08 05:25:03 -08:00
Teemu Pääkkönen
d5d62f2749 Allow empty internal value if options.allowBlank is true 2014-01-08 15:00:46 +02:00
Teemu Pääkkönen
4e1d9cc57e Merge remote-tracking branch 'upstream/master' 2014-01-08 14:56:03 +02:00
Valeriy
917811f3f7 Merge pull request #25 from burakerdem/master
Updated Turkish days with 3-letter abbreviations.
2014-01-08 02:14:59 -08:00
Valeriy
7136f06142 Merge pull request #27 from matll42/master
Add french (fr) translation
2014-01-08 02:13:56 -08:00
Mathieu
ee2d9a5386 Add fr translation 2014-01-08 11:03:22 +01:00
Burak Erdem
8c64e759b8 Updated Turkish days with 3-letter abbreviations. 2014-01-08 01:19:57 +02:00
Valeriy
121e702764 Merge pull request #24 from burakerdem/master
Added Turkish (tr) locale
2014-01-07 08:02:10 -08:00
Burak Erdem
a62118aabd Added Turkish (tr) locale 2014-01-07 16:22:38 +02:00
Valeriy
838a71bdc8 Merge pull request #23 from macrouch/master
Trigger onChangeMonth when month picker is used to switch months
2014-01-06 15:35:37 -08:00
Matthew Crouch
6dc55999fc Trigger onChangeMonth when month picker is used to switch months 2014-01-06 17:15:56 -05:00
Valeriy
37f4cf964f Merge pull request #21 from borc/change_event_on_blur
Trigger changedatetime on blur if validate-on-blur is enabled
2014-01-06 11:16:01 -08:00
Teemu Pääkkönen
0687f4202a Trigger changedatetime on blur if validate-on-blur is enabled 2013-12-31 13:03:34 +02:00
Teemu Pääkkönen
6e6e3f564a Fix whitespaces 2013-12-31 13:02:09 +02:00
Valeriy
0b52321c5a Update doc 2013-12-25 09:50:54 +06:00
Valeriy
0f792ecc1b new version 2.1.1
use strict mode
2013-12-25 09:45:34 +06:00
Valeriy
386c6c95d9 Add dblclick handler to today button 2013-12-24 18:11:46 +06:00
Valeriy
9fdbd3cc87 new version 2.1.0
Added two options
todayButton:true, // 2.1.0
defaultSelect:true, // 2.1.0
todayButton - show button "Go To Today"
defaultSelect - select current date and time if input empty
2013-12-24 17:59:06 +06:00
Valeriy
54523e849d new version 2.0.9
fix plugin height
added dblclick event for select date at timepicker visible
2013-12-16 15:19:10 +06:00
Valeriy
887c934142 new version 2.0.8
To add a class weekends xdsoft_weekend (Sunday, Saturday)
and Added options options.weekends
2013-12-16 09:51:07 +06:00
Valeriy
bf8b1f5ec3 Merge pull request #15 from bob-frost/master
'allowBlank' option
2013-12-13 11:57:24 -08:00
Babur Usenakunov
e67b2bc0b7 'allowBlank' option 2013-12-13 23:18:02 +06:00
Valeriy
5c193692f7 Fix bug with options.step>60
Added options.roundTime possible values ​​round, ceil, floor
Update doc
2013-12-13 13:07:05 +06:00