diff --git a/internal/faketime/faketime.go b/internal/faketime/faketime.go index 91c4089df..5650189e1 100644 --- a/internal/faketime/faketime.go +++ b/internal/faketime/faketime.go @@ -64,7 +64,7 @@ type ClockTimeWithOffset struct { // NewClockTimeWithOffset creates a ClockTimeWithOffset with the given start time. func NewClockTimeWithOffset(offset time.Duration) *ClockTimeWithOffset { - return &ClockTimeWithOffset{} + return &ClockTimeWithOffset{offset: offset} } // NowFunc returns a time provider function for t.