Commit Graph

82 Commits

Author SHA1 Message Date
Girts Silis
e10ec70fb7 Note for datetimepicker beforeShowDay callback 2014-03-06 16:33:49 -05:00
Girts Silis
8e8f28cf05 Implement beforeShowDay callback during render
This is similar to the beforeShowDay callback found in the DatePicker
widget from jquery UI
(http://api.jqueryui.com/datepicker/#option-beforeShowDay). The only
omission is a custom tooltip for the date.

The beforeShowDay callback can be supplied when creating an instance of
the DateTimePicker.
2014-03-06 16:27:33 -05:00
Valeriy
ff8a3d04af Merge pull request #65 from danielksb/master
Fixed incorrect date when selecting previous month
2014-02-27 12:14:57 +06:00
Raffaello Bertini
1dab414491 Added Italian internationalization. 2014-02-27 06:31:17 +01:00
Daniel
14b24e881c Fixed date selection bug
This commit is fixing a bug which occured during date selection. When selecting a day of the previous month which is higher than the current date's day the wrong date will be selected. This happens because setting a day with setDate() which is higher than the current month will automatically change the day to a lower number. That's why the month has to be set before the day.

How to reproduce: Let's say February, 26th is selected and then the user wants to switch to January, 30th then January, 2nd will be selected instead.
2014-02-26 20:49:13 +01:00
Valeriy
7ce73fe66d Merge pull request #56 from valmont/master
Show/Hide datepicker and timepicker
2014-02-25 08:16:39 +06:00
Valeriy
e5189ef42c Merge pull request #60 from loslch/master
Add Korean translation
2014-02-25 08:16:18 +06:00
Igor Vieira
279cc3b17b Fixes the daylight saving time duplicated date problem 2014-02-24 21:25:03 -03:00
ChangHun Lee
a2b622dabd Add Korean translation 2014-02-18 15:39:10 +09:00
alpha-ninja
a3f880d500 Why would you do that? 2014-02-13 20:06:13 -08:00
Web Advanced
8fe59d715f Updated setOptions to toggle timepicker and datepicker 2014-02-13 08:55:43 -08:00
Web Advanced
f894a39be5 Updated setOptions to toggle timepicker and datepicker 2014-02-13 08:55:02 -08:00
Valeriy Chupurnov
9dcc7af839 New version 2.1.9
Fix bug with popap on bottom window
Added Swedish local
Custom Local in i18n optione  recursive extends
2014-01-31 17:12:01 +06:00
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
a90120411
d1a1c9b4e2 Add support for Simplified Chinese 2014-01-19 12:01:57 +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
e52e7cb3c0 Fix button style for lower ie8 2014-01-14 09:40:30 +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
Bartosz Piec
4865f287d9 Polish locale 2014-01-12 13:34:31 +01:00
David TOUREL
97ec0685d0 Positionning bugfix #19 2014-01-09 17:21:02 +01: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
faf988866e new version 2.1.3
Added es i18n
Update doc
Update bower.json
2014-01-09 10:06:08 +06:00
josecols
b979d5a718 Added spanish translation 2014-01-08 18:28:19 -04:30
Valeriy Chupurnov
5ab993129a New version 2.1.2 2014-01-08 20:35:47 +06:00
Teemu Pääkkönen
d5d62f2749 Allow empty internal value if options.allowBlank is true 2014-01-08 15:00:46 +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
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
Burak Erdem
a62118aabd Added Turkish (tr) locale 2014-01-07 16:22:38 +02:00
Matthew Crouch
6dc55999fc Trigger onChangeMonth when month picker is used to switch months 2014-01-06 17:15:56 -05: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
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
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
Valeriy
02aef76797 new version 2.0.7
Fix bug with additional keyboard in mask mode
2013-12-13 12:23:46 +06:00
Valeriy
98f12c07dd Fix round time
Time is rounded to the nearest value
2013-12-12 15:43:03 +06:00
Valeriy
c8fdf24bf3 new version
Fix behavior on tab keypress in mask mode
2013-12-12 15:31:32 +06:00
Valeriy
040f8a3bf3 New version 2.0.6
Fix bug
2013-12-12 15:27:05 +06:00
Valeriy
9cc3ffc159 new version 2.0.6
Fix bug on ie8
2013-12-12 15:23:46 +06:00
Lucas Mendelowski
bdf36f24a9 Fix for right positioning of the widget
It's a fix to the fix I made couple of days ago. I've forgotten to use new value
after calculating new position for widget when it doesn't fit the place
on the right side of the input field. Sorry!
2013-12-12 10:28:56 +08:00
Valeriy Chupurnov
2ff6a073a3 Sorry 2013-12-11 22:21:22 +06:00
Valeriy Chupurnov
e9a5781dfe New version 2.0.5
Fix bu with destroy picker
Add rule for automatic generate mask
2013-12-11 21:45:22 +06:00
Valeriy Chupurnov
7e886b253d new version 2.0.4
Added new event onGenerate, See doc
2013-12-11 01:45:29 +06:00