aboutsummaryrefslogtreecommitdiffstats
path: root/library/fullcalendar/demos/php/get-time-zones.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2019-04-06 10:22:03 +0200
committerMario Vavti <mario@mariovavti.com>2019-04-06 10:22:03 +0200
commit3007009fab9a3257de14cb3de70f85c836be67ae (patch)
tree933305c3a419c09cde58a1dd7f859d1009337edf /library/fullcalendar/demos/php/get-time-zones.php
parent6adb489cb3e82d988f40b3ad79041bf8c6e48f32 (diff)
downloadvolse-hubzilla-3007009fab9a3257de14cb3de70f85c836be67ae.tar.gz
volse-hubzilla-3007009fab9a3257de14cb3de70f85c836be67ae.tar.bz2
volse-hubzilla-3007009fab9a3257de14cb3de70f85c836be67ae.zip
upgrade cdav calendar to version 4
Diffstat (limited to 'library/fullcalendar/demos/php/get-time-zones.php')
-rw-r--r--library/fullcalendar/demos/php/get-time-zones.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/library/fullcalendar/demos/php/get-time-zones.php b/library/fullcalendar/demos/php/get-time-zones.php
new file mode 100644
index 000000000..241e1bd18
--- /dev/null
+++ b/library/fullcalendar/demos/php/get-time-zones.php
@@ -0,0 +1,9 @@
+<?php
+
+//--------------------------------------------------------------------------------------------------
+// This script outputs a JSON array of all timezones (like "America/Chicago") that PHP supports.
+//
+// Requires PHP 5.2.0 or higher.
+//--------------------------------------------------------------------------------------------------
+
+echo json_encode(DateTimeZone::listIdentifiers()); \ No newline at end of file