Code

Interpret the snapshot datestamp as GMT
authorTon Voon <tonvoon@users.sourceforge.net>
Thu, 3 Aug 2006 08:14:09 +0000 (08:14 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Thu, 3 Aug 2006 08:14:09 +0000 (08:14 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1465 f882894a-f735-0410-b71e-b25c423dba1c

tools/tinderbox_build

index 862f1c1d4b6b1684e4da83f2d7fdaab7e753c944..44e3dfe6a9efdcc4d8a934023d2a5c8cd5e71294 100755 (executable)
@@ -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;
                        }
                }