Update Info() behavior

This commit is contained in:
Tom Wiesing 2022-09-26 16:10:25 +02:00
parent 72d95f58ea
commit 196555e897
No known key found for this signature in database
4 changed files with 36 additions and 28 deletions

View file

@ -25,9 +25,9 @@ func New(io stream.IOStream, dis *wisski.Distillery, description Description) (b
// do the create keeping track of time!
logging.LogOperation(func() error {
backup.StartTime = time.Now()
backup.StartTime = time.Now().UTC()
backup.run(io, dis)
backup.EndTime = time.Now()
backup.EndTime = time.Now().UTC()
return nil
}, io, "Writing backup files")