Teemu Merikoski
732e421bff
Add a callback for getWeekOfYear command, onGetWeekOfYear.
2016-01-21 10:50:25 +02:00
xiaoyu5256
7178b48c30
add feature allow date by regex
2016-01-18 12:43:36 +08:00
xiaoyu5256
4d1c6b7b26
add allowdates option
2016-01-08 12:30:45 +08:00
extremumratio
f4d0e46691
use php-date-formatter
2015-12-28 22:37:09 +05:00
artragis
f79207e55f
Add Predifined datetime format that jqueryUI datepicker supports
2015-12-28 14:05:24 +01:00
Marc Sommerhalder
dbf3e21e60
Add Romansh translations
2015-12-17 09:19:04 +01:00
Marc Sommerhalder
972e9d6888
Replace spaces with tabs
2015-12-17 09:18:25 +01:00
Evan Vandegriff
765127ee80
fix setting position to the sometimes incorrect datetimepicker element position
2015-12-15 12:06:28 -05:00
Dennis Marschner
1f1004ddb2
Fixed "tablike"-behavior to include button- and a-Tags
2015-11-30 09:21:50 +01:00
Saugat Acharya
2626db5426
Fix caret position when lazyInit and mask is set to true.
...
Currently when lazyInit and mask is set to true, caret position will be set at the end. This makes it unable to type the date unless we move the cursor back to the start.
I am not exactly sure if this is the correct place to do it but it works as expected.
2015-11-16 23:59:28 +05:45
Sid Spencer
c2d57c4b4d
Add touch support for iOS.
2015-10-08 14:28:21 -07:00
extremumratio
f8a2c0810e
Fix issue #333
2015-09-30 22:15:43 +05:00
Jonathan Gotti
9c5032f22e
Add forgotten amd date-functions requirement
2015-09-24 15:15:15 +02:00
Jonathan Gotti
f910a50ffd
Add a 'npm run build' command
2015-09-23 16:14:03 +02:00
Jonathan Gotti
a9c7b81bf1
UMD module definition
2015-09-21 18:21:36 +02:00
Jonathan Gotti
228f5f4e81
extract date and mousewheel dependencies
2015-09-21 17:54:30 +02:00
Valeriy
9090478658
Merge pull request #323 from extremumratio/master
...
Date format. Support i18n + D, l, M, F php style format characters.
2015-09-21 08:26:03 +05:00
extremumratio
c2851bc2a9
global setLocale, format date (D, l, M, F) for other languages
2015-09-20 13:20:25 +05:00
andrewmnlv
4bb98138f0
fix: correct sequence of callbacks
2015-09-01 19:37:14 +03:00
unknown
3e83c5cbea
support mixed array for the values of highlightedPeriods
2015-08-24 12:55:31 +02: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
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
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
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
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
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
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
illuminati-fin
c3181ceb09
Fixed parent positioning bug
2015-05-28 23:25:12 +03:00
Ali Özkan
bcd48d8056
strtodate fixed at home icon.
2015-05-12 14:09:43 +03: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
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
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
Murzal Arsya
af7cb92d3a
fix dayOfWeek for Indonesian language so it starts on Sunday instead of Monday
2015-04-16 21:10:33 +07:00
ahrens
e9daab15ed
added options to highlight individual dates or periods
2015-04-09 15:19:40 +02: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
stuartwmurray
cc8001dfca
Update jquery.datetimepicker.js
...
Date parsing is now case insensitive
2015-03-21 13:40:16 +11:00
Isabek
549ae74008
Added Kyrgyz months' names and days' names
2015-03-11 00:43:34 +06:00
r.marshevskyy
9dabc4089b
Corrected Added option closeOnTimeSelect.
2015-02-26 13:42:47 +02:00
r.marshevskyy
8061c66738
Added option closeOnTimeSelect
2015-02-26 12:41:14 +02:00
r.marshevskyy
8cdc02d3bd
Added botton 'Save Selected'. Option: showApplyButton
2015-02-25 13:25:47 +02:00
Valeriy
bede87d4cb
Merge pull request #240 from u01jmg3/master
...
Fix to prevent times such as `12:60` instead of `13:00` when using an input of `xx:45 - xx:59`
2015-02-24 14:48:40 +05:00
Jonathan Goode
f6e7cda612
Fix to use tabs over 4 spaces as per rest of repo
2015-02-20 17:51:10 +00:00
Jonathan Goode
3fcbf2de99
Added the ability to call the validate logic from datetimepicker
similar to reset
2015-02-20 17:44:09 +00:00
isaacws
00194569f4
Updated spaces to tabs to be consistent
2015-02-16 14:57:03 -06:00
isaacws
61b75960af
Removed because never used
2015-02-16 14:49:28 -06:00
isaacws
0184c64c5a
Fixed IE8 Issues when textbox is empty and navigation buttons are clicked
2015-02-16 14:48:56 -06:00
Jonathan Goode
9e12c43f68
Fix to prevent times such as 12:60
instead of 13:00
when using an input of xx:45 - xx:59
2015-02-16 14:55:22 +00:00
mykohsu
f1bbc8e21c
Re-commit createNewFormat due to accidental revert
...
See comments here: https://github.com/xdan/datetimepicker/pull/229
Original commit comments: Function now returns unescaped string for format strings without any format specifies (including empty). See revision here: https://gist.github.com/mykohsu/5d37b58674dc13f9e78b
2015-02-13 18:23:20 -08:00
Jonathan Goode
3d9559c387
Added option to show/hide previous and next buttons as per today button
...
Added option to set start and end months as per years
2015-02-12 19:23:07 +00:00
Fabiano Oliveira
b5c46f69d9
Runtime error
2015-02-12 10:36:45 -02:00
Valeriy
d1d2c47d37
Update jquery.datetimepicker.js
...
Added Armenian language
2015-02-09 11:35:25 +05:00
Valeriy
caf24e62d0
Merge pull request #212 from tilast/custom-time-parsing
...
added parsing of time like from 0315 => 03:15
2015-01-30 16:30:05 +05:00
Valeriy
82945ad155
Revert "Updated createNewFormat function for Parse and Format library."
2015-01-30 16:11:04 +05:00
Valeriy
a50ab9e52d
Merge pull request #218 from mykohsu/emptyformatpatch
...
Updated createNewFormat function for Parse and Format library.
2015-01-30 16:09:59 +05:00
Alexey Bobyrev
6d1661d834
Match weekend days properly
...
Set 'xdsoft_weekend' class on date only if it's weekend or matches to `options.weekends` array.
2015-01-05 23:38:48 +02:00
lampslave
2f357fa877
Do not check whether input is visible
2014-12-29 22:44:50 +03:00
Bob Mazanec
7c645e58d0
Create several datetimepickers with class selector
...
Fixes Issue #201 by moving _xdsoft_datetime declaration from
$.fn.datetimepicker() down into its createDateTimePicker()
With this fix, the next/prev month arrows work in all datetimepickers,
and not just the last.
2014-12-24 11:28:08 -06:00
mykohsu
049e7755a3
Updated createNewFormat function.
...
Function now returns unescaped string for format strings without any format specifies (including empty). See revision here: https://gist.github.com/mykohsu/5d37b58674dc13f9e78b
2014-12-22 13:36:17 -08:00
pete
e7f38dc52a
Added minDateTime option for people who want to limit users to both a date and a time minimum.
2014-12-10 11:44:12 -05:00
Ihor Kroosh
e1c36b440b
added parsing of time like from 0315 => 03:15
2014-12-10 12:46:37 +02:00
Valeriy
fff719389f
added several languages
2014-11-16 02:28:37 +05:00
Valeriy
4d701140af
adding new entries in the dictionary languages
...
Signed-off-by: gLUK00 <hidalgoemmanuel@gmail.com>
2014-11-15 20:47:22 +01:00
Valeriy
4c8f46ea8a
added package.js
2014-11-01 07:04:59 +06:00
Valeriy
cd40ca7d3a
Merge branch 'master' of https://github.com/xdan/datetimepicker
2014-10-26 17:31:34 +06:00
Daniel Ma
57f168baa0
Add ability to toggle datetimepicker
2014-10-24 13:48:43 -07:00
Valeriy
8d2ef17404
Added enterLikeTab option
2014-10-23 17:55:01 +06:00
Valeriy
f49674765a
Added disabledDates options
2014-10-23 17:35:13 +06:00
Valeriy
ee7047e204
Fix behavior under iPad and iPhone
2014-10-23 17:25:50 +06:00
Valeriy
0a5e0ef094
Fix behavior under iPad and iPhone
2014-10-23 17:01:38 +06:00
Dragfreeze
0171c06480
Update jquery.datetimepicker.js
...
Had problems when minifying code.
2014-10-21 23:03:45 +05:30
Valeriy
de9300c663
Standarted code with JSLint
2014-10-07 20:54:52 +06:00
Valeriy
2b0ca6949c
Standarted code with JSLint
2014-10-07 20:37:57 +06:00
Valeriy
c00391b35e
Delete all comment and clear css
2014-10-03 17:20:42 +06:00
Valeriy
bbbac5e88d
Add dark theme
2014-09-24 18:04:45 +06:00
Valeriy
52c765f838
Add arrow for mount and year pickers
2014-09-24 17:53:30 +06:00
Valeriy
9608473bf9
Fix bug with moment.js
2014-09-24 17:14:57 +06:00
Valeriy
d1ab2548da
Merge pull request #176 from akolosov/parentID
...
Parent element for appending
2014-09-24 14:54:02 +06:00
Alexey Kolosov
03b398ac6f
Parent element for appending div.xdsoft_datetimepicker.xdsoft_noselect
...
for multiple modal forms. Default - 'body'
2014-09-19 09:36:41 +06:00
lampslave
405bb55490
Improve setPos for small screens
2014-09-17 22:31:32 +04:00
Setest
a4f6772829
Update jquery.datetimepicker.js
...
если мы будем накладывать свои стили к элементам, например .xdsoft_time.xdsoft_disabled{display: none;}, то иначе они не успеют отработать в результате, мы получим неправильный margin. Хотя при таком решении скролл к выбранному элементу тоже надо доделывать.
2014-08-31 22:08:48 +04:00
Valeriy
294c201668
Merge pull request #161 from leondealmeida/master
...
Add support for AR, RO and ID
2014-08-12 22:37:02 +06:00
Leon de Almeida
97b7f6d429
Add support for AR, RO and ID
...
Adding support for three languages - Arabic, Romanian and Indonesian
2014-08-12 13:24:53 -03:00
demis-palma
aa2e5c8846
Removed unnecessary dependencies
...
Removed unnecessary dependencies from internal properties of Baron Schwartz Date Parsing Library.
2014-08-10 17:07:33 +01:00
Valeriy
00695940df
fixed bug with startDate
2014-08-06 11:25:50 +06:00
Valeriy
a7880e783a
fixed bug with dayOfWeekStart
2014-08-06 11:10:17 +06:00
Bruno Pilgaard Pedersen
8500146a24
Danish: Inconsistent upper and lower casing
2014-08-03 14:49:10 +02:00
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