From 233fb584ec1ad076e4a8a9047d68264350c9e5e5 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Tue, 20 Mar 2012 11:20:15 +0000 Subject: [PATCH] fixed datepicker for graphs page. we use the most 'correct' date format yyyy-mm-dd. git-svn-id: http://www.observium.org/svn/observer/trunk@2906 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/pages/graphs.inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/html/pages/graphs.inc.php b/html/pages/graphs.inc.php index 6264900b8..0b863540b 100644 --- a/html/pages/graphs.inc.php +++ b/html/pages/graphs.inc.php @@ -61,6 +61,7 @@ if (!$auth) showOn: 'button', buttonImage: 'images/16/date.png', buttonImageOnly: true, + dateFormat: 'yy-mm-dd', hourGrid: 4, minuteGrid: 10, onClose: function(dateText, inst) { @@ -88,6 +89,7 @@ if (!$auth) showOn: 'button', buttonImage: 'images/16/date.png', buttonImageOnly: true, + dateFormat: 'yy-mm-dd', hourGrid: 4, minuteGrid: 10, maxDate: 0, @@ -138,8 +140,6 @@ if (!$auth) "); - - print_optionbar_start(); $thumb_array = array('sixhour' => '6 Hours', 'day' => '24 Hours', 'twoday' => '48 Hours', 'week' => 'One Week', 'twoweek' => 'Two Weeks', @@ -181,8 +181,8 @@ if (!$auth) "); echo(""); echo(" - From: - To: + From: + To: