Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/announcer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-28 16:45:05 +0300
committerLukas Reschke <lukas@statuscode.ch>2016-11-28 16:45:05 +0300
commit6a1ae6a1e132b3968fb6ac9eedb7269fbe66a64f (patch)
tree409698be80a27cd7b74a58ab55cef8a1803d176c
parentde40ea1d51ef6f40a4d0da613f879b5fdcfdb208 (diff)
Use Berlin as default timezone
-rw-r--r--generate.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/generate.php b/generate.php
index 63ecc60..4cb2eb4 100644
--- a/generate.php
+++ b/generate.php
@@ -24,6 +24,8 @@ if (php_sapi_name() !== 'cli') {
exit(1);
}
+date_default_timezone_set('Europe/Berlin');
+
$content = file_get_contents(__DIR__ . '/feed.txt');
$feeds = explode("\n", $content);
$items = '';