~ubuntu-branches/ubuntu/vivid/davical/vivid

« back to all changes in this revision

Viewing changes to scripts/tz-update.php

  • Committer: Bazaar Package Importer
  • Author(s): Andrew McMillan
  • Date: 2011-10-24 20:09:10 UTC
  • Revision ID: james.westby@ubuntu.com-20111024200910-2mz5wmc9ukh22vge
Tags: 0.9.9.7-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
if ( preg_match('{^http}', $c->tzsource ) ) {
160
160
 
161
161
  $changesince = null;
162
 
  $qry = new AwlQuery("SELECT tzid, to_char(last_modified,'YYYY-MM-DD\"T\"HH24:MI:SS') AS last_modified FROM timezones");
 
162
  $qry = new AwlQuery("SELECT tzid, to_char(last_modified,'YYYY-MM-DD\"T\"HH24:MI:SS\"Z\"') AS last_modified FROM timezones");
163
163
  $current_zones = array();
164
164
  if ( $qry->Exec('tz/updatecheck',__LINE__,__FILE__) && $qry->rows() > 0 ) {
165
165
    while( $row = $qry->Fetch() )