Commit Graph

480 Commits

Author SHA1 Message Date
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
Valeriy
9f6020ef6c Merge pull request #98 from anhskohbo/patch-1
Added vietnamese i18n
2014-04-21 09:10:02 +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
Valeriy
b4e02aff4a Merge pull request #91 from jholland-usgs/master
Fixed parseDate(input, format) when format contained a dayOfYear value.
2014-04-08 09:21:29 +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
3c6b8d098e Merge pull request #88 from jholland-usgs/master
Fixed getDayOfYear and getWeekOfYear behavior
2014-04-05 11:43:10 +06:00
James Holland
932c11f561 Fixed get week of year function. It was broken before with a Document write call and outputted a double instead of integer. 2014-04-04 16:41:28 -06:00
James Holland
0f8c1042ad Fixed the getDayOfYear function to start at 1 instead of 0. 2014-04-04 16:41:28 -06:00
Valeriy
3f12daa372 Update jquery.datetimepicker.js 2014-04-04 20:32:02 +06:00
Valeriy
28d1cad41c Merge pull request #85 from neiljohnston/patch-1
BS Compatibility: Modals & DropDowns Closing
2014-04-03 09:27:18 +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
Valeriy
6240a30d79 Merge pull request #84 from dolphin333/add_language_japanese
Add Japanese support
2014-03-31 11:45:51 +06: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
82773e83e1 update doc 2014-03-25 12:03:54 +06:00
Valeriy
984a6a77e0 update doc 2014-03-25 12:02:35 +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
9001bdb708 update doc 2014-03-25 10:19:13 +06:00
Valeriy
65fc798ec3 update doc 2014-03-25 10:15:47 +06:00
Valeriy Chupurnov
c7d59288ab update doc 2014-03-25 02:05:39 +06:00
Valeriy Chupurnov
568a3f5788 v2.2.2 2014-03-25 01:53:03 +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
Valeriy
036f10eda8 Merge pull request #79 from SBSTP/master
Trigger change event when value is changed.
2014-03-21 12:51:34 +06:00
Simon
4133236f95 trigger change event 2014-03-20 14:41:34 -04:00
Valeriy
9dc632f504 Merge pull request #77 from Olek89/fix/position-above-the-page-top
Do not scroll over the document top edge
2014-03-18 23:07:59 +06: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
Valeriy
df475094c7 Merge pull request #74 from Ferguzz/init_time
Adding option 'initTime' to initialise timepicker to current time on loa...
2014-03-11 22:28:18 +06: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
3a20bfd939 Remove console output from index.html 2014-03-06 16:55:52 -05:00
Girts Silis
e10ec70fb7 Note for datetimepicker beforeShowDay callback 2014-03-06 16:33:49 -05:00
Girts Silis
ddb380006c Examples for beforeShowDay callback in index.html 2014-03-06 16:31:10 -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
Valeriy
3d48510a8c Delete jquery.datetimepicker.js~ 2014-02-27 12:14:21 +06:00
Valeriy
92d6f87047 Merge pull request #66 from Raffaello/master
Added Italian internationalization.
2014-02-27 12:13:45 +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
Valeriy
198b14df57 Merge pull request #63 from igorfv/master
Fixes the daylight saving time duplicated/missing date problem
2014-02-25 08:15:14 +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
Valeriy
1ec209f119 Merge pull request #57 from alpha-ninja/patch-1
Why would you do that?)
Don't know)
2014-02-14 10:10:45 +06:00
alpha-ninja
a3f880d500 Why would you do that? 2014-02-13 20:06:13 -08:00