mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-24 17:35:01 +01:00
b9b9ad10cf
This PR adds a new field optional field `timestamp_location` that allows the user to specify a timezone different than the default UTC for use in the snapshot suffix. I took @mjasnik 's PR https://github.com/zrepl/zrepl/pull/785 and refactored+extended it as follows: * move all formatting logic into its own package * disallow `dense` and `human` with formats != UTC to protect users from stupidity * document behavior more clearly * regression test for existing users |
||
---|---|---|
.. | ||
snapname | ||
cron_test.go | ||
cron.go | ||
impl.go | ||
manual.go | ||
periodic.go | ||
snapper.go | ||
snapstate_string.go | ||
state_string.go | ||
util.go |