archiveRefTime is the Go reference time. The contents of the sample tar and zip files in testdata/ all have their modtimes set to the below in some timezone.
(t *testing.T)
| 107 | // archiveRefTime is the Go reference time. The contents of the sample tar and zip files |
| 108 | // in testdata/ all have their modtimes set to the below in some timezone. |
| 109 | func ArchiveRefTime(t *testing.T) time.Time { |
| 110 | locMST, err := time.LoadLocation("MST") |
| 111 | require.NoError(t, err, "failed to load MST timezone") |
| 112 | return time.Date(2006, 1, 2, 3, 4, 5, 0, locMST) |
| 113 | } |
no outgoing calls