Skip to content

Commit 79649ba

Browse files
author
minkyu-yi
committed
chore: versioning & bundle
1 parent 9d5a4c2 commit 79649ba

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

code-snippet.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*!code-snippet v1.2.0 | NHN Entertainment*/
1+
/*!code-snippet v1.2.1 | NHN Entertainment*/
22
/**********
33
* array.js
44
**********/
@@ -1849,11 +1849,11 @@ tui.util.Enum = Enum;
18491849
}
18501850

18511851
nDate.meridiem = '';
1852-
if (/[^\\][aA]|^[aA]\b/.test(form)) {
1852+
if (/([^\\]|^)[aA]\b/.test(form)) {
18531853
meridiem = (nDate.hour > 11) ?
18541854
tui.util.pick(option, 'meridiemSet', 'PM') || 'PM'
18551855
: tui.util.pick(option, 'meridiemSet', 'AM') || 'AM';
1856-
if (nDate.hour !== 12) { //See the clock system: https://en.wikipedia.org/wiki/12-hour_clock
1856+
if (nDate.hour > 12) { //See the clock system: https://en.wikipedia.org/wiki/12-hour_clock
18571857
nDate.hour %= 12;
18581858
}
18591859
nDate.meridiem = meridiem;

0 commit comments

Comments
 (0)