mirror of
https://github.com/SecurityBrewery/catalyst.git
synced 2026-11-09 15:59:58 +01:00
Mock time (#2)
This commit is contained in:
1 parent
0286574692
commit
1fade14ba5
19 files changed
+916
-969
No files matched your search
+3
-1
@@ -89,5 +89,7 @@ func parse(s string) *time.Time {
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
return &modified
|
||||
|
||||
utc := modified.UTC()
|
||||
return &utc
|
||||
}
|
||||
Reference in new issue
Block a user