Changeset 0dbdcdcb96cdd5837152eca661beb0914580db69

Show
Ignore:
Timestamp:
03/27/09 19:01:47 (9 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1238180507 +0000
git-parent:

[c3a1f2e12de43c398369bb5a3f902eebde93f9bb]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1238180507 +0000
Message:

the client is in UTC, so times without timezone info need to be handed back in UTC

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • ui/web/htdocs/json_graph_flot.php

    re13f962 r0dbdcdc  
    1111$start = $_GET['start']?$_GET['start']:(7*86400); 
    1212if(preg_match('/^\d+$/', $start)) 
    13   $start = strftime("%Y-%m-%d %H:%M:%S", time() - $start); 
    14 $end = $_GET['end']?$_GET['end']:strftime("%Y-%m-%d %H:%M:%S", time()); 
     13  $start = gmstrftime("%Y-%m-%d %H:%M:%S", time() - $start); 
     14$end = $_GET['end']?$_GET['end']:gmstrftime("%Y-%m-%d %H:%M:%S", time()); 
    1515$cnt = $_GET['cnt']?$_GET['cnt']:400; 
    1616