* @copyright Morphoss Ltd * @license http://gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $primary_source = ''; $source = ''; if ( substr($c->tzsource,0,4) == 'http' ) { $source = ''.$c->tzsource.''; } else { if ( empty($c->tzsource) ) $c->tzsource = '../zonedb/vtimezones'; if ( file_exists($c->tzsource.'/primary-source') ) { $primary_source = ''.file_get_contents($c->tzsource.'/primary-source').''; } } $contact = $c->admin_email; header('Content-Type: application/xml; charset="utf-8"'); echo << $primary_source$source mailto:$contact list List timezone identifiers and localized forms lang false true Specify desired localized form(s) changedsince false false Limit result to timezones changed since the given date returnall false false If present inactive timezones will be returned. get Returns one or more timezones as specified by the tzid parameter. format false false text/calendar application/calendar+xml Specify required format for timezone. lang false true Specify desired localized form(s) tzid true true Specify desired timezone identifiers expand Expands the specified timezone(s) into local onset and UTC offsets tzid true true Specify desired timezone identifiers start false false Specify start of the period of interest. If omitted the current year is assumed. end false false Specify end of the period of interest. If omitted the current year + 10 is assumed. capabilities Gets the capabilities of the server EOCAP; exit(0);