Skip to content

Commit

Permalink
Now use UTC for timeSuffixFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
a0s committed Sep 13, 2020
1 parent 236d56c commit 57511ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var (

timeSuffixEnabled = flag.Bool("time-suffix-enabled", false, "add the time suffix to every filename on (re)start")
timeSuffixFormat = flag.String("time-suffix-format", "2006010215", "go format of the time suffix (see https://golang.org/src/time/format.go)")
timeSuffixStartedAt = time.Now()
timeSuffixStartedAt = time.Now().UTC()

orderbook = flag.String("orderbook", "", "list of tickers to subscribe for orderbooks")
orderbookDepth = flag.Int("orderbook-depth", 20, "depth of orderbook: from 1 to 20")
Expand Down

0 comments on commit 57511ed

Please sign in to comment.