Skip to content

Commit eb8f0d3

Browse files
Merge pull request #152 from felixge/remove-use-strict
Remove Redundant Use Strict
2 parents 6351073 + 6a17e1d commit eb8f0d3

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/dateformat.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
*/
1414

1515
(function (global) {
16-
"use strict";
17-
1816
const dateFormat = (() => {
1917
const token = /d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LlopSZWN]|"[^"]*"|'[^']*'/g;
2018
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 @@
120118
p: () =>
121119
(o() > 0 ? "-" : "+") +
122120
pad(Math.floor(Math.abs(o()) / 60), 2) +
123-
':' +
121+
":" +
124122
pad(Math.floor(Math.abs(o()) % 60), 2),
125123
S: () =>
126124
["th", "st", "nd", "rd"][

0 commit comments

Comments
 (0)