Index: src/pkg/time/zoneinfo_plan9.go |
=================================================================== |
--- a/src/pkg/time/zoneinfo_plan9.go |
+++ b/src/pkg/time/zoneinfo_plan9.go |
@@ -96,7 +96,7 @@ |
// Fill in the cache with information about right now, |
// since that will be the most common lookup. |
- sec, _ := now() |
+ sec, _ := fakeNow() |
for i := range tx { |
if tx[i].when <= sec && (i+1 == len(tx) || sec < tx[i+1].when) { |
l.cacheStart = tx[i].when |