Commit Graph

339 Commits

Author SHA1 Message Date
Valeriy
cd0ad9febf added ukrainian lang 2014-07-31 11:07:01 +06:00
Alexander Shepetko
4a0fe3e10f Ukrainian localization 2014-07-30 16:51:26 +03:00
Nathan
426635428f Added weeknumbers as optional feature 2014-07-18 12:44:46 +02:00
Valeriy
145f9ad4dd added options: defaultTime and defaultDate 2014-07-09 19:42:06 +06:00
Valeriy
44039d036f fix bug in ie8 2014-07-08 19:30:24 +06:00
Valeriy
3110364005 Fix list issue 2014-06-30 17:45:25 +06:00
Valeriy
51e5a8665f Fix list isshue 2014-06-30 17:16:47 +06:00
Valeriy
83b767e632 Merge pull request #140 from estudiotrilha/master
startDate priority override
2014-06-30 17:10:26 +06:00
Szellszi
34b76a435f Added Hungarian translation 2014-06-20 12:45:29 +02:00
tormjens
a3022f0b4b Norwegian translation
added norwegian translation
2014-06-16 03:28:52 +02:00
Valeriy
6e469d4655 Now in minDate,maxDate,minTime and maxTime can put Date object 2014-06-11 10:33:32 +06:00
Valeriy
7d0552ea44 Now in minDate,maxDate,minTime and maxTime can put Date object 2014-06-11 10:28:41 +06:00
Pedro Goes
db71119edb startDate priority override 2014-06-09 16:44:51 +01:00
demis-palma
d0fafb9278 Duplicate declaration
Duplicate declaration
2014-06-05 09:35:15 +01:00
Valeriy
1fd28c5bfa Merge pull request #135 from demis-palma/patch-3
Unnecessary semicolons
2014-06-05 08:23:47 +06:00
Zemistr
d9bc2da3e6 Added Czech translation 2014-06-05 02:21:23 +02:00
Zemistr
efbfff1a01 Fixed some whitespaces 2014-06-05 02:20:35 +02:00
demis-palma
e83c1ab6a5 Unnecessary semicolons
Unnecessary semicolons
2014-06-04 14:46:24 +01:00
Eugeniy
579eea65ce Added closeOnInputClick options
Added options for ability to close datepicker window when datepicker-initialize input has been click
2014-06-04 10:53:58 +04:00
Valeriy
3e320c9046 Merge pull request #130 from prate3k/master
Making default options modifiable
2014-05-30 16:18:40 +06:00
Prateek
5cd07bfe84 Making default options modifiable
Storing default options in global object, so that any one can access or
modify it easily using jQuery's "$.extend()" method.
2014-05-30 14:31:20 +05:30
Mohammed Mansoor Ahmed
5d19459a4c Added option to fix the position of picker.
Example: If the datetimepicker is being used on a fixed position popup,
then we can set fixed: true for the datetimepicker to fix the position
of the picker too.
2014-05-30 11:37:02 +05:30
Valeriy
bc8ea874af Update jquery.datetimepicker.js 2014-05-29 16:16:15 +06:00
JoshBour
f7acd4aa16 Added Greek language support 2014-05-28 00:01:58 +03:00
Valeriy
4a5547f6e0 Merge pull request #123 from demis-palma/patch-2
Pointless arithmetic expressions
2014-05-26 09:42:10 +06:00
demis-palma
29c2ba9d83 Pointless arithmetic expressions
1*(tmpDate[2].getTimezoneOffset()) can be replaced with (tmpDate[2].getTimezoneOffset())

It may be the result of automated refactorings, and in any case are unlikely to be what the developer intended to do.
2014-05-25 20:49:05 +01:00
demis-palma
7b042aed45 Unterminated statements
Missing semicolons
2014-05-25 19:55:05 +01:00
Valeriy
768779ebf7 Fix some problem for compitable with moment.js 2014-05-23 16:45:36 +06:00
Valeriy
13c66d7821 Added in prototype Date method getCountDaysInMonth for less depend with date-parse library 2014-05-23 16:37:24 +06:00
Valeriy
83206a7501 fixed for work in ie7, fixed bug with inline mode 2014-05-23 12:16:07 +06:00
Valeriy
95648c6472 Fix bug with inline scroll 2014-05-22 18:44:52 +06:00
Valeriy
260cc0061f Fix bug with select date 31 in month which only 30 days 2014-05-22 18:01:39 +06:00
Valeriy
263d9e94df new version
Few  update by other maintainers. See new example in documentation
http://xdsoft.net/jqplugins/datetimepicker/#use_other_date_parser
2014-05-22 17:17:56 +06:00
Evgeny
b98fb7b078 Update jquery.datetimepicker.js
additional stop event propagation
2014-05-22 12:02:21 +04:00
nnazifi
e1c854bb39 Update jquery.datetimepicker.js 2014-05-21 09:10:09 +04:30
Valeriy
8f11c10c98 Merge pull request #113 from devashishmamgain/master
Option to stop continuous month change on mouse down
2014-05-15 18:55:58 +06:00
tv828434
abd00f1fbe fix onGenerate function to be triggered 2014-05-15 11:36:25 +02:00
devashishmamgain
63a791be5e Added monthChangeSpinner option, if it is true then on mousedown of month change it will keep on changing the month otherwise stop month change, this is required to fix a problem in firefox where the month is continuously getting changed without stop. 2014-05-14 11:18:24 +05:30
Borislav Pantaleev
ced5768e9b Add Bulgarian language i18n 2014-05-09 13:17:01 +03:00
Fazle Elahee
3333300169 beforeShowDay option added. Iterate over each day before rendering calendar. Useful when highlight or disable day in calendar. or add custom class. example: datetimepicker({ beforeShowDay: function( date ){ return ‘my-custom-class’} }); 2014-04-29 18:12:32 +01:00
Valeriy
fe0e89445a Update jquery.datetimepicker.js 2014-04-21 20:04:12 +06:00
Nguyễn Văn Ánh
4d8fb14dcf Added vietnamese i18n 2014-04-20 00:12:13 +07:00
Valeriy
ec287463ff Merge pull request #90 from SBSTP/master
remove debug message
2014-04-08 09:44:00 +06:00
James Holland
1a3fd7d238 Fixed parseDate(input, format) when format contained a dayOfYear value. Updated minified code in jquery.datetimepicker.js.
The parseDate function was set to ignore day of year values. I changed this and added in a parser and regex for their values.
2014-04-07 18:41:03 -06:00
Simon Bernier St-Pierre
75138c1a20 remove debug message 2014-04-07 15:08:01 -04:00
Valeriy Chupurnov
c5da6cd4d2 new version 2.2.5
Fix bug with click to 31 mart and 1 april
2014-04-06 19:21:35 +06:00
Valeriy
3f12daa372 Update jquery.datetimepicker.js 2014-04-04 20:32:02 +06:00
Neil Johnston
992d8e42e0 BS Compatibility: Modals & DropDowns Closing
This change prevents the DateTimePicker from closing Bootstrap (and other) modals, pop-ups, and drop downs on the selection of the date, by stopping propagation of the click.
Changing the DateTimePicker to close on the selection of a datetime, restores the previous behaviour.
2014-04-02 11:14:23 -07:00
Dolphin
59ab03f557 Add Japanese support 2014-03-31 14:36:53 +09:00
Valeriy Chupurnov
e54d6517b7 new version 2.2.4
Fixed bug with setOptions allowTimes
2014-03-26 23:01:59 +06:00
Valeriy
ce4afc0061 lazyinit default set in false 2014-03-25 12:30:56 +06:00
Valeriy
50d9e9b42f new version 2.2.3
Added options lazyInit to accelerate the plugin
2014-03-25 11:58:52 +06:00
Valeriy Chupurnov
ba9ee0f519 new version 2.2.2
Added new options startDate and added format 'unixtime'
2014-03-25 01:52:20 +06:00
Simon
4133236f95 trigger change event 2014-03-20 14:41:34 -04:00
Aleksander Budzinski
7dd401b2eb Do not scroll over the document top edge
With this simple if statement datepicker div will not appear
over the document top edge.
2014-03-18 17:19:12 +01:00
Tom Myers
616becee13 Adding option 'initTime' to initialise timepicker to current time on load when 'defaultSelect' is false. 2014-03-11 14:22:29 +00:00
Girts Silis
655a088746 Remove call to beforeShowDay if not user-defined
Rather than calling the function regardless if the user wished to
perform a check on each date, only call the method if the user
explicitly defined it in the options object passed to datetimepicker.
2014-03-06 16:56:06 -05:00
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
Valeriy
76b82f8412 fix 2013-12-10 19:00:35 +06:00
Valeriy
fef125cf36 Fix bug 2013-12-10 18:55:53 +06:00
Valeriy
b1a253182e Fix bug
Bug in Date.parseFunctions
2013-12-10 17:46:28 +06:00
Valeriy
6faffe1f7d Fixed some bugs 2013-12-05 21:19:41 +06:00
Valeriy
b551dad1e2 New version 2.0.2
Fixed some bugs
Added example runtime set options
Code become cleaner
2013-12-05 20:42:51 +06:00
Valeriy
7ac1a799e8 New version 2.0.1
Fixed some bugs
2013-12-05 13:21:30 +06:00
Valeriy
7efa762907 Merge pull request #9 from lowski/additional_condition_for_positioning
Added condition to check if there is enough space on the right side
2013-12-04 06:45:56 -08:00
Valeriy
a45cbcf47a Bug with touch event 2013-12-04 20:39:41 +06:00
Valeriy
5aa18c624f new major version 2.0.0
Added fast month and year select
Added touch handler for scroller element
Update screens
Creation of a custom scrollbars allocated into a plugin xdsoftScroller
2013-12-04 20:16:19 +06:00
Lucas Mendelowski
438c887b3a Added condition to check if there is enough space on the right side of an input field
When the input field is close to the right side of the page and the calendar width
is bigger than the width of input field + right offset then calendard will be placed
on the left side of the field (by default it's placed on the right side).
2013-12-04 16:55:19 +08:00
Valeriy
5a2b509d51 New version 1.1.1
Fixed bug shift+tab keypress
2013-12-03 16:02:07 +06:00
Valeriy
8528af4b96 New major version 1.1.0
Add mask for input
2013-11-28 18:16:07 +06:00
Valeriy Chupurnov
e64c416c71 new version 1.0.10
compatible with ie7,ie8
2013-11-28 01:28:25 +06:00
Valeriy
cd7a37bc63 On destroy add destroy focus event 2013-11-26 17:17:57 +06:00
Valeriy
bf28ec79ac add focus event in trigger list 2013-11-26 17:16:17 +06:00
Valeriy
5e02ecd865 Bug fixed
Padding button  fixed
2013-11-26 15:58:34 +06:00
Valeriy
2ed0c5478f New Version 1.0.9
minDate and maxDate can now be specified as -1970/01/02 and 1970/01/02
respectively
2013-11-26 13:28:31 +06:00
Valeriy
cc63cb9ddc new version 2013-11-19 15:34:17 +06:00
Valeriy
efec312e79 new version 1.0.7
1) Add destroy method
2) $('#datetimepicker6').datetimepicker('destroy');
also fixed bug with resize window
3) fixed bug when datetimepicker overflow window
2013-11-19 15:20:05 +06:00
Valeriy
641110cde0 Add scroll enabled options
scrollMonth:true,
scrollTime:true,
scrollInput:true,
2013-11-18 17:53:24 +06:00
Valeriy
710cba4bf9 Merge pull request #3 from bartj3/master
Set the button type to button
2013-11-18 03:42:31 -08:00
Valeriy
38a87c7b17 Fixed bug minDate 2013-11-18 15:52:22 +06:00
Valeriy
def2fa8c3e bug witch opera no-select 2013-11-15 15:07:15 +06:00
Bart van Zon
f5eafa05c6 Set the button type to button
On a couple of browser the default type of a button is 'submit', not
setting the type explicitly in the script will cause the navigation
buttons to submit the form it's in.
2013-11-15 08:58:09 +01:00
Valeriy
0b11095033 add scrollbar
Added scrollbar in TimePicker for more usefully. In demo index.html
added example use allowTimes option
2013-11-15 12:47:44 +06:00
Bart van Zon
11da82e934 add dutch locale 2013-11-12 10:38:42 +01:00
Valeriy
fb10237c98 New version
Update method open
2013-11-07 10:31:36 +06:00
Valeriy
161800fe89 New version
Add method show and hide
$('#datetimepicker4').datetimepicker('show');
$('#datetimepicker4').datetimepicker('hide');
2013-11-07 10:24:58 +06:00
Valeriy
7bb28f1ded date & time to the value closest to the current datetime
date & time to the value closest to the current datetime
2013-11-06 14:52:16 +06:00
Valeriy
b8892a575f no link to site
set withoutCopyright default true
2013-11-05 19:10:46 +06:00
Valeriy
053b817ec3 Added jquery plugin manifest 2013-11-05 16:22:26 +06:00
Valeriy
cf16cf9c6f Create jquery.datetimepicker.js 2013-11-03 16:11:36 +06:00