mirror of
https://github.com/kopia/kopia.git
synced 2026-05-14 09:47:35 -04:00
faketime: fixed offset (#853)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user