浏览代码

Interpret the snapshot datestamp as GMT

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1465 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon 19 年之前
父节点
当前提交
4c50478efc
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/tinderbox_build

+ 1 - 1
tools/tinderbox_build

@@ -82,7 +82,7 @@ sub BuildIt {
 		open F, $file;
 		while (<F>) {
 			if (/^Version: HEAD-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) {
-				$StartTime = timelocal(0, $5, $4, $3, ($2 - 1), ($1 - 1900));
+				$StartTime = timegm(0, $5, $4, $3, ($2 - 1), ($1 - 1900));
 				last;
 			}
 		}