diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2006-08-03 08:14:09 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2006-08-03 08:14:09 +0000 |
commit | 4c50478efce19e079c030574e1b23bf02a50573a (patch) | |
tree | 921a3014c9afe9965d5a1359fc88c720e2babbd8 /tools | |
parent | dc32492e469beb05fe97ff4600b2d212d9db42c3 (diff) | |
download | monitoring-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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/tinderbox_build | 2 |
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 { | |||
82 | open F, $file; | 82 | open F, $file; |
83 | while (<F>) { | 83 | while (<F>) { |
84 | if (/^Version: HEAD-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { | 84 | if (/^Version: HEAD-(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/) { |
85 | $StartTime = timelocal(0, $5, $4, $3, ($2 - 1), ($1 - 1900)); | 85 | $StartTime = timegm(0, $5, $4, $3, ($2 - 1), ($1 - 1900)); |
86 | last; | 86 | last; |
87 | } | 87 | } |
88 | } | 88 | } |