2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-27 04:43:30 +00:00
restic/changelog/unreleased
Alexander Neumann 939f3e972c node: Make sure year of all timestamps is valid
Sometimes restic gets bogus timestamps which cannot be converted to
JSON, because the stdlib JSON encoder returns an error if the year is
not within [0, 9999]. We now make sure that we at least record _some_
timestamp and cap the year either to 0000 or 9999. Before, restic would
refuse to save the file at all, so this improves the status quo.

This fixes #2174 and #1173
2019-04-24 16:39:36 +02:00
..
issue-2174 node: Make sure year of all timestamps is valid 2019-04-24 16:39:36 +02:00