mirror of
https://github.com/kopia/kopia.git
synced 2026-10-21 13:44:48 -04:00
faketime: fixed offset (#853)
This commit is contained in:
1 parent
6bb41794ee
commit
34da819953
1 file changed
+1
-1
@@ -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