We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db9839 commit 36491fbCopy full SHA for 36491fb
1 file changed
src/parse-format/parse.js
@@ -8,7 +8,7 @@ const match1to2 = /\d\d?/ // 0 - 99
8
const matchUpperAMPM = /[AP]M/
9
const matchLowerAMPM = /[ap]m/
10
const matchSigned = /[+-]?\d+/ // -inf - inf
11
-const matchOffset = /([+-]\d\d:?\d\d|Z)/ // +00:00 -00:00 +0000 -0000 or Z
+const matchOffset = /(?:[+-]\d\d:?\d\d|Z)/ // +00:00 -00:00 +0000 -0000 or Z
12
const matchAbbreviation = /[A-Z]{3,4}/ // CET
13
14
const parseTokenExpressions = {}
0 commit comments