time: document that calendrical calculations are with no leap seconds

Fixes #15247

Change-Id: I942fb2eacd1b54bab66cc147a6b047a3ffce0b84
Reviewed-on: https://go-review.googlesource.com/30595
Reviewed-by: Russ Cox <rsc@golang.org>
This commit is contained in:
Brad Fitzpatrick 2016-10-06 18:22:19 +00:00
parent 4c79ed5f44
commit 1c09b4dde6

View file

@ -4,7 +4,8 @@
// Package time provides functionality for measuring and displaying time.
//
// The calendrical calculations always assume a Gregorian calendar.
// The calendrical calculations always assume a Gregorian calendar, with
// no leap seconds.
package time
import "errors"