libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit fad0b966e885a437dece9362cec4cb8133f148cd
parent ab9b0ddaee63f3081c4b9f06da76d1a33c4868e2
Author: Christian Grothoff <christian@grothoff.org>
Date:   Fri, 26 Jun 2020 00:40:34 +0200

fix #6391

Diffstat:
Msrc/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 @@ -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); }