We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6351073 + 6a17e1d commit eb8f0d3Copy full SHA for eb8f0d3
1 file changed
src/dateformat.js
@@ -13,8 +13,6 @@
13
*/
14
15
(function (global) {
16
- "use strict";
17
-
18
const dateFormat = (() => {
19
const token = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LlopSZWN]|"[^"]*"|'[^']*'/g;
20
const timezone = /\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g;
@@ -120,7 +118,7 @@
120
118
p: () =>
121
119
(o() > 0 ? "-" : "+") +
122
pad(Math.floor(Math.abs(o()) / 60), 2) +
123
- ':' +
+ ":" +
124
pad(Math.floor(Math.abs(o()) % 60), 2),
125
S: () =>
126
["th", "st", "nd", "rd"][
0 commit comments