Skip to content

Commit 211a104

Browse files
New version v1.5.3
1 parent 439a9a1 commit 211a104

7 files changed

+13
-12
lines changed

dist/i18n/jquery-ui-timepicker-addon-i18n.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Timepicker Addon - v1.5.3 - 2015-03-15
1+
/*! jQuery Timepicker Addon - v1.5.3 - 2015-04-19
22
* http://trentrichardson.com/examples/timepicker
33
* Copyright (c) 2015 Trent Richardson; Licensed MIT */
44

dist/i18n/jquery-ui-timepicker-addon-i18n.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ <h3>Requirements</h3>
115115
<h3>Version</h3>
116116
<p>Version 1.5.3</p>
117117

118-
<p>Last updated on 2015-03-15</p>
118+
<p>Last updated on 2015-04-19</p>
119119
<p>jQuery Timepicker Addon is currently available for use in all personal or commercial projects under the MIT license.</p>
120120
<p><a href="http://trentrichardson.com/Impromptu/MIT-LICENSE.txt" title="MIT License">MIT License</a></p>
121121

dist/jquery-ui-timepicker-addon.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! jQuery Timepicker Addon - v1.5.3 - 2015-03-15
1+
/*! jQuery Timepicker Addon - v1.5.3 - 2015-04-19
22
* http://trentrichardson.com/examples/timepicker
33
* Copyright (c) 2015 Trent Richardson; Licensed MIT */
44
(function (factory) {
@@ -1548,12 +1548,12 @@
15481548
$.datepicker._gotoToday = function (id) {
15491549
var inst = this._getInst($(id)[0]),
15501550
$dp = inst.dpDiv;
1551-
this._base_gotoToday(id);
15521551
var tp_inst = this._get(inst, 'timepicker');
15531552
selectLocalTimezone(tp_inst);
15541553
var now = new Date();
15551554
this._setTime(inst, now);
15561555
this._setDate(inst, now);
1556+
this._base_gotoToday(id);
15571557
};
15581558

15591559
/*
@@ -1711,7 +1711,8 @@
17111711
}
17121712

17131713
var date = this._getDate(inst);
1714-
if (date && tp_inst._parseTime($(target).val(), tp_inst.timeOnly)) {
1714+
var currDT = $.trim((tp_inst.$altInput && tp_inst._defaults.altFieldTimeOnly) ? tp_inst.$input.val() + ' ' + tp_inst.$altInput.val() : tp_inst.$input.val());
1715+
if (date && tp_inst._parseTime(currDT, !inst.settings.timeOnly)) {
17151716
date.setHours(tp_inst.hour, tp_inst.minute, tp_inst.second, tp_inst.millisec);
17161717
date.setMicroseconds(tp_inst.microsec);
17171718

dist/jquery-ui-timepicker-addon.min.css

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/jquery-ui-timepicker-addon.min.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

jquery-ui-timepicker-addon.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"title": "jQuery Timepicker Addon",
44
"description": "A timepicker addon for jQueryUI datepicker.",
55
"version": "1.5.3",
6-
"modified": "2015-03-15",
6+
"modified": "2015-04-19",
77
"homepage": "http://trentrichardson.com/examples/timepicker",
88
"author": {
99
"name": "Trent Richardson",

0 commit comments

Comments
 (0)