diff --git a/version.inc.php b/version.inc.php index ae4714e..6e89f2a 100644 --- a/version.inc.php +++ b/version.inc.php @@ -92,7 +92,7 @@ function get_inc_game_version() function get_version_file_lifetime() { - exec("git log --follow --format=%ad --date=format:'%Y-%m-%d %H:%M:%S' " . get_path_to_version_file() , $out, $ret); + exec("git log --follow --format=%ad --date=format:\"%Y-%m-%d %H:%M:%S\" " . get_path_to_version_file() , $out, $ret); if($ret != 0) throw new Exception("git error"); $minutes = (time() - strtotime($out[0])) / 60;