aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-08-03 08:14:09 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-08-03 08:14:09 +0000
commit4c50478efce19e079c030574e1b23bf02a50573a (patch)
tree921a3014c9afe9965d5a1359fc88c720e2babbd8
parentdc32492e469beb05fe97ff4600b2d212d9db42c3 (diff)
downloadmonitoring-plugins-4c50478efce19e079c030574e1b23bf02a50573a.tar.gz
Interpret the snapshot datestamp as GMT
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1465 f882894a-f735-0410-b71e-b25c423dba1c
-rwxr-xr-xtools/tinderbox_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tinderbox_build b/tools/tinderbox_build
index 862f1c1d..44e3dfe6 100755
--- a/tools/tinderbox_build
+++ b/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;
}
}