Skip to content

Commit d3cc598

Browse files
author
Robert Bastian
committed
ci complaints
1 parent c307ad7 commit d3cc598

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,16 +156,16 @@ function getZoneCfgSinceTime (cutoffTime, cacheFilename) {
156156
// Only respect the transition times and total offset for equality. This way, different
157157
// zones that only use different names (like GMT/BST for London but WET/WEST for Lisbon),
158158
// or that mark different periods as standard time (like Dublin which uses +1-1 in the
159-
// winter and +1+0 in summer, whereas London and Lisbon use +0+0 in the winter and +0+1
159+
// winter and +1+0 in summer, whereas London and Lisbon use +0+0 in the winter and +0+1
160160
// in the summer) will still merge.
161161
.map(t => [t.transitionTime, t.utcOffset])
162-
// getAllTransitions returns transitions until March 2499 for Europe/London, but until
162+
// getAllTransitions returns transitions until March 2499 for Europe/London, but until
163163
// October 2499 for Europe/Dublin, which will lead to a mismatch. This limits the number
164164
// of transitions to something a bit sooner (250 years) so that equality is not impacted
165165
// by this.
166166
.slice(0, 500)
167167

168-
let timekeepingKey = `${startingZoneOffset}-${hashMd5(transitions)}`
168+
const timekeepingKey = `${startingZoneOffset}-${hashMd5(transitions)}`
169169

170170
if (!timekeepingPatternZones[timekeepingKey]) {
171171
timekeepingPatternZones[timekeepingKey] = []

0 commit comments

Comments
 (0)