make time calculations timezone independent (and thus more portable) (#1337)

Sven Nierlein notifications at github.com
Wed Apr 22 16:33:54 CEST 2015


How does this make the code more portable? I mean, thats what timezones are
for, if you want UTC, just use UTC either by changing your system to UTC or
by running the plugin with
TZ="UTC" ..../check_http -C ..
Or just set TZ for your monitoring user, i'd say there are way better
solutions than hardcoding UTC in some of the plugins.

-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/pull/1337#issuecomment-95208644
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/devel/attachments/20150422/3da94c54/attachment.html>


More information about the Devel mailing list