Explorar el Código

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 hace 19 años
padre
commit
4c50478efc
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;
 			}
 		}