From 499099f251ac43c31889b9d44d31fc7eb20b8959 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 10 Jul 2012 17:49:26 +0200 Subject: [PATCH] bweb: Fix #1909 about expire calculation --- gui/bweb/html/bweb.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/bweb/html/bweb.js b/gui/bweb/html/bweb.js index 0bcd098148..f883779ec0 100644 --- a/gui/bweb/html/bweb.js +++ b/gui/bweb/html/bweb.js @@ -378,7 +378,7 @@ function timestamp_to_iso(ts) } var datum = new Date(ts); - return datum.getFullYear() + '-' + pad(datum.getMonth()+1) + '-' + pad(datum.getDay()+1) + ' ' + pad(datum.getHours()) + ':' + pad(datum.getMinutes()) + ':' + pad(datum.getSeconds()); + return datum.getFullYear() + '-' + pad(datum.getMonth()+1) + '-' + pad(datum.getDate()+1) + ' ' + pad(datum.getHours()) + ':' + pad(datum.getMinutes()) + ':' + pad(datum.getSeconds()); } function bweb_get_job_img(status, errors, type) -- 2.39.5