~john-koepi/ubuntu/trusty/golang/default

« back to all changes in this revision

Viewing changes to src/pkg/time/time_test.go

  • Committer: Package Import Robot
  • Author(s): Ondřej Surý
  • Date: 2012-05-02 15:44:59 UTC
  • mfrom: (14.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120502154459-wcmy8ao1325ml619
Tags: 2:1.0.1-1
* Imported Upstream version 1.0.1
* Apply godoc patch to display package list correctly (Closes: #669354)

Show diffs side-by-side

added added

removed removed

Lines of Context:
223
223
        {"ANSIC", ANSIC, "Wed Feb  4 21:00:57 2009"},
224
224
        {"UnixDate", UnixDate, "Wed Feb  4 21:00:57 PST 2009"},
225
225
        {"RubyDate", RubyDate, "Wed Feb 04 21:00:57 -0800 2009"},
226
 
        {"RFC822", RFC822, "04 Feb 09 2100 PST"},
 
226
        {"RFC822", RFC822, "04 Feb 09 21:00 PST"},
227
227
        {"RFC850", RFC850, "Wednesday, 04-Feb-09 21:00:57 PST"},
228
228
        {"RFC1123", RFC1123, "Wed, 04 Feb 2009 21:00:57 PST"},
229
229
        {"RFC1123Z", RFC1123Z, "Wed, 04 Feb 2009 21:00:57 -0800"},
310
310
        {"RFC1123", RFC1123, "Thu, 04 Feb 2010 21:00:57.01234 PST", true, true, 1, 5},
311
311
        {"RFC1123Z", RFC1123Z, "Thu, 04 Feb 2010 21:00:57.01234 -0800", true, true, 1, 5},
312
312
        {"RFC3339", RFC3339, "2010-02-04T21:00:57.012345678-08:00", true, false, 1, 9},
 
313
        {"custom: \"2006-01-02 15:04:05\"", "2006-01-02 15:04:05", "2010-02-04 21:00:57.0", false, false, 1, 0},
313
314
        // Amount of white space should not matter.
314
315
        {"ANSIC", ANSIC, "Thu Feb 4 21:00:57 2010", false, true, 1, 0},
315
316
        {"ANSIC", ANSIC, "Thu      Feb     4     21:00:57     2010", false, true, 1, 0},