We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d86942 commit 4922e67Copy full SHA for 4922e67
timezones.go
@@ -430,8 +430,8 @@ func LoadTZData(tzdata []byte) (*Template, error) {
430
}
431
432
433
- if len(zones) > 254 {
434
- // Template.Zones can have max 254 zones so that we can always create *time.Location unambiguously.
+ if len(zones) > maxUserZones {
+ // Template.Zones can have only maxUserZones so that we can always create *time.Location unambiguously.
435
return nil, errTooManyZones
436
437
0 commit comments