diff options
author | Trent Richardson <trentdrichardson@gmail.com> | 2012-10-03 14:12:22 -0400 |
---|---|---|
committer | Trent Richardson <trentdrichardson@gmail.com> | 2012-10-03 14:12:22 -0400 |
commit | 6129c1ce8d00dd199132aaceafab9039c1b4d4f7 (patch) | |
tree | a4b3b9415c0c2062e308c35abddd34be54494a96 | |
parent | dddb3c3fd39c97c0519ac11f19b7ccf8f4f9533b (diff) | |
download | jQuery-Timepicker-Addon-6129c1ce8d00dd199132aaceafab9039c1b4d4f7.zip jQuery-Timepicker-Addon-6129c1ce8d00dd199132aaceafab9039c1b4d4f7.tar.gz jQuery-Timepicker-Addon-6129c1ce8d00dd199132aaceafab9039c1b4d4f7.tar.bz2 |
Issue 465 - Bernosek, Fixes inconsistancy with quotes in timeFormat compared to dateFormat
-rw-r--r-- | jquery-ui-timepicker-addon.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js index 72da9ea..681c569 100644 --- a/jquery-ui-timepicker-addon.js +++ b/jquery-ui-timepicker-addon.js @@ -1145,7 +1145,7 @@ hour = 12;
}
}
- tmptime = tmptime.replace(/(?:hh?|mm?|ss?|[tT]{1,2}|[lz]|('.*?'|".*?"))/g, function(match) {
+ tmptime = tmptime.replace(/(?:hh?|mm?|ss?|[tT]{1,2}|[lz]|'.*?')/g, function(match) {
switch (match.toLowerCase()) {
case 'hh':
return ('0' + hour).slice(-2);
|