-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
Description
GOARCH=386; Debian Lenny $ hg identify be829e70975f tip changeset: 7809:be829e70975f tag: tip user: Yasuhiro Matsumoto <mattn.jp@gmail.com> date: Fri Mar 18 09:28:23 2011 -0700 summary: godoc: No need to use filepath.IsAbs() $ ./all.bash ... ... make[2]: Leaving directory `/home/bradfitz/go/src/pkg/time' --- FAIL: time_test.TestSecondsToLocalTime (0.0 seconds) SecondsToLocalTime(0): want={Year:1969 Month:12 Day:31 Hour:16 Minute:0 Second:0 Weekday:3 ZoneOffset:-28800 Zone:PST} have={Year:1970 Month:1 Day:1 Hour:0 Minute:0 Second:0 Weekday:4 ZoneOffset:0 Zone:UTC} SecondsToLocalTime(1221681866): want={Year:2008 Month:9 Day:17 Hour:13 Minute:4 Second:26 Weekday:3 ZoneOffset:-25200 Zone:PDT} have={Year:2008 Month:9 Day:17 Hour:20 Minute:4 Second:26 Weekday:3 ZoneOffset:0 Zone:UTC} --- FAIL: time_test.TestFormat (0.0 seconds) ANSIC expected "Thu Feb 4 21:00:57 2010" got "Fri Feb 5 05:00:57 2010" UnixDate expected "Thu Feb 4 21:00:57 PST 2010" got "Fri Feb 5 05:00:57 UTC 2010" RubyDate expected "Thu Feb 04 21:00:57 -0800 2010" got "Fri Feb 05 05:00:57 +0000 2010" RFC822 expected "04 Feb 10 2100 PST" got "05 Feb 10 0500 UTC" RFC850 expected "Thursday, 04-Feb-10 21:00:57 PST" got "Friday, 05-Feb-10 05:00:57 UTC" RFC1123 expected "Thu, 04 Feb 2010 21:00:57 PST" got "Fri, 05 Feb 2010 05:00:57 UTC" RFC3339 expected "2010-02-04T21:00:57-08:00" got "2010-02-05T05:00:57Z" Kitchen expected "9:00PM" got "5:00AM" am/pm expected "9pm" got "5am" AM/PM expected "9PM" got "5AM" --- FAIL: time_test.TestParse (0.0 seconds) UnixDate: bad tz offset: 0 not -28800 RFC850: bad tz offset: 0 not -28800 RFC1123: bad tz offset: 0 not -28800 FAIL make[1]: *** [test] Error 1 make[1]: Leaving directory `/home/bradfitz/go/src/pkg/time' make: *** [time.test] Error 2 $ date Fri Mar 18 17:58:51 UTC 2011