Code

src/daemon/utils_time.c: Pass "struct tm *" to format_zone().
authorFlorian Forster <octo@collectd.org>
Fri, 16 Sep 2016 07:37:57 +0000 (09:37 +0200)
committerFlorian Forster <octo@collectd.org>
Fri, 16 Sep 2016 07:37:57 +0000 (09:37 +0200)
commit03542f95bdf02fc0a02f16038e0c4460ddcde01f
treeeb23ed74597e417360c120e40d87dc7eb606ca9f
parentb0d893874b1ce4f726bce4ce6bb8b60961b2be93
src/daemon/utils_time.c: Pass "struct tm *" to format_zone().

This is a partial revert of e2cb258c7b6ce456f4119fd1454c85b479fa3e2d:
strptime() does not look the local timezone up itself but gets the
information from the "struct tm". If that is initialized with {0}, it
will always return the "+0000" time zone.
src/daemon/utils_time.c