mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-04-15 09:51:21 +00:00
- When archives are listed using list_archives() method, return datetime objects instead of pre-formatted strings. datetime objects can be compared easily and shown in a more human readable format. Tests: - Unit tests pass. - Backups with a future date are ignored when considering recent backup times (when they logged to console). - Most recent scheduled backup times are retrieved correctly (when they logged to console). Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>