Skip to content

Commit 6129c1c

Browse files
Issue 465 - Bernosek, Fixes inconsistancy with quotes in timeFormat compared to dateFormat
1 parent dddb3c3 commit 6129c1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1145,7 +1145,7 @@
11451145
hour = 12;
11461146
}
11471147
}
1148-
tmptime = tmptime.replace(/(?:hh?|mm?|ss?|[tT]{1,2}|[lz]|('.*?'|".*?"))/g, function(match) {
1148+
tmptime = tmptime.replace(/(?:hh?|mm?|ss?|[tT]{1,2}|[lz]|'.*?')/g, function(match) {
11491149
switch (match.toLowerCase()) {
11501150
case 'hh':
11511151
return ('0' + hour).slice(-2);

0 commit comments

Comments
 (0)