From 80d894c0c69f0d671cb237facb7184ea6b76115c Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 12 Sep 2012 13:14:22 +0200 Subject: [PATCH] bweb: Fix patch for #1909 about bad expire value --- 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 f883779ec0..d85f85f697 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.getDate()+1) + ' ' + pad(datum.getHours()) + ':' + pad(datum.getMinutes()) + ':' + pad(datum.getSeconds()); + return datum.getFullYear() + '-' + pad(datum.getMonth()+1) + '-' + pad(datum.getDate()) + ' ' + pad(datum.getHours()) + ':' + pad(datum.getMinutes()) + ':' + pad(datum.getSeconds()); } function bweb_get_job_img(status, errors, type) -- 2.39.5