diff options
author | Romain d'Alverny <rda@mageia.org> | 2012-09-11 16:31:54 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2012-09-11 16:31:54 +0000 |
commit | fd9ab7903bebb93ef0e3124e41f24057901b2871 (patch) | |
tree | a05bfcff362ba187b42123113a2d807dd1a86d69 | |
parent | f6ba3abfe896443b3924e4e9eb4b7e06e96d0d1e (diff) | |
download | pkgsubmit-fd9ab7903bebb93ef0e3124e41f24057901b2871.tar pkgsubmit-fd9ab7903bebb93ef0e3124e41f24057901b2871.tar.gz pkgsubmit-fd9ab7903bebb93ef0e3124e41f24057901b2871.tar.bz2 pkgsubmit-fd9ab7903bebb93ef0e3124e41f24057901b2871.tar.xz pkgsubmit-fd9ab7903bebb93ef0e3124e41f24057901b2871.zip |
time is shown in UTC for now
-rw-r--r-- | lib.php | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -529,11 +529,15 @@ S; $rows = implode(', ', $rows); return <<<S function draw_buildschedule_chart() { + var UTCOffsetInHours = new Date().getTimezoneOffset()/-60; + //alert(UTCOffsetInHours); + //TODO rotate hours in \$rows so it represents local time. + var data = google.visualization.arrayToDataTable([ {$rows} ]); var options = { - title: 'When do builds happen? (CET)', + title: 'When do builds happen? (UTC - working on a local time fix)', hAxis: {title: 'Hours'}, 'width':500, 'height':200, |