From 45c5e67993e6442997d2d83306f6dccc563df0f8 Mon Sep 17 00:00:00 2001 From: Andrew McMillan Date: Thu, 6 Oct 2011 11:06:34 +0200 Subject: [PATCH] Get date identified as being UTC. --- scripts/tz-update.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/tz-update.php b/scripts/tz-update.php index 8ef49d70..16b570fb 100755 --- a/scripts/tz-update.php +++ b/scripts/tz-update.php @@ -159,7 +159,7 @@ if ( empty($c->tzsource) ) $c->tzsource = '../zonedb/vtimezones'; if ( preg_match('{^http}', $c->tzsource ) ) { $changesince = null; - $qry = new AwlQuery("SELECT tzid, to_char(last_modified,'YYYY-MM-DD\"T\"HH24:MI:SS') AS last_modified FROM timezones"); + $qry = new AwlQuery("SELECT tzid, to_char(last_modified,'YYYY-MM-DD\"T\"HH24:MI:SS\"Z\"') AS last_modified FROM timezones"); $current_zones = array(); if ( $qry->Exec('tz/updatecheck',__LINE__,__FILE__) && $qry->rows() > 0 ) { while( $row = $qry->Fetch() )