diff --git a/inc/tz/get.php b/inc/tz/get.php index f8847c64..2c522fa2 100644 --- a/inc/tz/get.php +++ b/inc/tz/get.php @@ -45,8 +45,8 @@ if ( $qry->QDo('SELECT * FROM tz_localnames WHERE our_tzno = :our_tzno', array(' header( 'ETag: "'.$tz->etag.'"' ); header( 'Last-Modified', $tz->last_modified ); -header( 'Content-Disposition', 'Attachment; Filename="'.str_replace('/','-',$tzid . '.ics"' ); +header( 'Content-Disposition', 'Attachment; Filename="'.str_replace('/','-',$tzid . '.ics"' )); $request->DoResponse(200, $vtz->Render(), 'text/calendar; charset=UTF-8'); -exit(0); \ No newline at end of file +exit(0); diff --git a/zonedb/update-tzdata.sh b/zonedb/update-tzdata.sh index 35808bf3..03f4eed0 100755 --- a/zonedb/update-tzdata.sh +++ b/zonedb/update-tzdata.sh @@ -13,5 +13,5 @@ TZDATAFILE="`ls -t tzdata*.tar.gz|tail -n 1`" mkdir tzdata && cd tzdata && tar -xfz ../$TZDATAFILE ) -vzic --olson-dir tzdata --output-dir vtimezones +vzic --pure --olson-dir tzdata --output-dir vtimezones echo "Olson `echo $TZDATAFILE | cut -f1 -d.`" >vtimezones/primary-source