1
0
mirror of https://github.com/golang/go synced 2024-10-04 11:21:21 -06:00
go/src/pkg/time/internal_test.go
Peter Mundy 69191553e7 time: fix daysIn for December
daysBefore[12+1]: index out of range
time.December and Windows SYSTEMTIME.wMonth
are 12 for December.

R=rsc, dsymonds
CC=golang-dev
https://golang.org/cl/5448130
2011-12-07 14:47:25 -05:00

14 lines
309 B
Go

// Copyright 2011 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package time
func init() {
// force US/Pacific for time zone tests
localOnce.Do(initTestingZone)
}
var Interrupt = interrupt
var DaysIn = daysIn