]> git.wh0rd.org Git - tt-rss.git/commitdiff
get_version: force UTC
authorAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 24 Apr 2013 04:56:37 +0000 (08:56 +0400)
committerAndrew Dolgov <fox@madoka.volgo-balt.ru>
Wed, 24 Apr 2013 04:56:37 +0000 (08:56 +0400)
include/version.php

index 07b6c4a00ebfb14862d5a8192c2786600c11d446..4d088a2bb76dadda90ad60dbef714774a1ee8cbd 100644 (file)
@@ -2,6 +2,7 @@
        define('VERSION_STATIC', '1.7.8');
 
        function get_version() {
+               date_default_timezone_set('UTC');
                $root_dir = dirname(dirname(__FILE__));
 
                if (is_dir("$root_dir/.git") && file_exists("$root_dir/.git/ORIG_HEAD")) {