mirror of
https://github.com/restic/restic.git
synced 2026-11-23 13:52:39 +00:00
30 lines
578 B
Plaintext
30 lines
578 B
Plaintext
Enhancement: More flexible formats for backup and rewrite time related options
|
|
|
|
Restic backup --time allowed in the past only the format "2006-01-02 15:04:05".
|
|
|
|
`backup --time` and `rewrite --new-time` can now use the following range of date/time
|
|
formats:
|
|
|
|
```
|
|
y-m-d
|
|
y-m-d HH:MM
|
|
y-m-d HH:MM:SS
|
|
|
|
d.m.y
|
|
d.m.y HH:MM
|
|
d.m.y HH:MM:SS
|
|
```
|
|
|
|
With additional modifiers for timezone name and timezone offset:
|
|
|
|
```
|
|
y-m-d HH:MM:SS MST
|
|
y-m-d HH:MM:SS -0700
|
|
|
|
d.m.y HH:MM:SS MST
|
|
d.m.y HH:MM:SS -0700
|
|
```
|
|
|
|
https://github.com/restic/restic/issues/2065
|
|
https://github.com/restic/restic/pull/21867
|