We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e68727 commit 0095c6fCopy full SHA for 0095c6f
code-snippet.js
@@ -1,4 +1,4 @@
1
-/*!code-snippet v1.2.1 | NHN Entertainment*/
+/*!code-snippet v1.2.2 | NHN Entertainment*/
2
/**********
3
* array.js
4
**********/
@@ -1856,6 +1856,9 @@ tui.util.Enum = Enum;
1856
if (nDate.hour > 12) { //See the clock system: https://en.wikipedia.org/wiki/12-hour_clock
1857
nDate.hour %= 12;
1858
}
1859
+ if (nDate.hour === 0) {
1860
+ nDate.hour = 12;
1861
+ }
1862
nDate.meridiem = meridiem;
1863
1864
@@ -1871,7 +1874,6 @@ tui.util.Enum = Enum;
1871
1874
tui.util.formatDate = formatDate;
1872
1875
})(window.tui);
1873
1876
-
1877
1878
* func.js
1879
0 commit comments