File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff 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 ] = [ ]
You can’t perform that action at this time.
0 commit comments