From fad0b966e885a437dece9362cec4cb8133f148cd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Fri, 26 Jun 2020 00:40:34 +0200 Subject: fix #6391 --- src/plugins/test_rpm.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/plugins/test_rpm.c b/src/plugins/test_rpm.c index e9fbfc6..34bdc37 100644 --- a/src/plugins/test_rpm.c +++ b/src/plugins/test_rpm.c @@ -108,8 +108,8 @@ main (int argc, char *argv[]) EXTRACTOR_METATYPE_CREATION_DATE, EXTRACTOR_METAFORMAT_UTF8, "text/plain", - "Thu Oct 2 11:44:33 2003", - strlen ("Thu Oct 2 11:44:33 2003") + 1, + "Thu Oct 2 09:44:33 2003", + strlen ("Thu Oct 2 09:44:33 2003") + 1, 0 }, { @@ -319,6 +319,8 @@ main (int argc, char *argv[]) rpm_test_sol }, { NULL, NULL } }; + + setenv ("TZ", "UTC", 1); return ET_main ("rpm", ps); } -- cgit v1.2.3