[ARVADOS] updated: bfaad44c23b334c91d347acb1517fd750f13e0c3

git at public.curoverse.com git at public.curoverse.com
Mon Jun 23 16:41:36 EDT 2014


Summary of changes:
 apps/workbench/app/assets/javascripts/log_viewer.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  bfaad44c23b334c91d347acb1517fd750f13e0c3 (commit)
      from  f2756832f844d78d782ff35e46b650c5501b0c47 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit bfaad44c23b334c91d347acb1517fd750f13e0c3
Author: Tom Clegg <tom at curoverse.com>
Date:   Mon Jun 23 16:39:55 2014 -0400

    Fix off-by-one-month in timestamp conversion. refs #2883

diff --git a/apps/workbench/app/assets/javascripts/log_viewer.js b/apps/workbench/app/assets/javascripts/log_viewer.js
index 101b4a5..74bba13 100644
--- a/apps/workbench/app/assets/javascripts/log_viewer.js
+++ b/apps/workbench/app/assets/javascripts/log_viewer.js
@@ -15,7 +15,7 @@ function addToLogViewer(logViewer, lines, taskState) {
         var v = lines[a].match(re);
         if (v != null) {
 
-            var ts = new Date(Date.UTC(v[2], v[3], v[4], v[6], v[7], v[8]));
+            var ts = new Date(Date.UTC(v[2], v[3]-1, v[4], v[6], v[7], v[8]));
 
             v11 = v[11];
             if (typeof v[11] === 'undefined') {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list