1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-05 15:57:23 +01:00

convert the backup increment time to the local timezone, fixes #700

Duplicity gives times in UTC. We were assuming times were in local time.
This commit is contained in:
Joshua Tauberer
2016-02-05 08:46:21 -05:00
parent f5c376dca8
commit 178527dab1
3 changed files with 4 additions and 4 deletions

View File

@@ -142,7 +142,7 @@ function show_system_backup() {
var b = r.backups[i];
var tr = $('<tr/>');
if (b.full) tr.addClass("full-backup");
tr.append( $('<td/>').text(b.date_str + " " + r.tz) );
tr.append( $('<td/>').text(b.date_str) );
tr.append( $('<td/>').text(b.date_delta + " ago") );
tr.append( $('<td/>').text(b.full ? "full" : "increment") );
tr.append( $('<td style="text-align: right"/>').text( nice_size(b.size)) );