We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25b3126 commit 2b9741cCopy full SHA for 2b9741c
plugins/in_winevtlog/pack.c
@@ -192,6 +192,8 @@ static int pack_systemtime(struct winevtlog_config *ctx, SYSTEMTIME *st)
192
DYNAMIC_TIME_ZONE_INFORMATION dtzi;
193
SYSTEMTIME st_local;
194
195
+ _tzset();
196
+
197
GetDynamicTimeZoneInformation(&dtzi);
198
199
locale = _get_current_locale();
@@ -234,6 +236,8 @@ static int pack_filetime(struct winevtlog_config *ctx, ULONGLONG filetime)
234
236
SYSTEMTIME st;
235
237
_locale_t locale;
238
239
240
241
242
if (locale == NULL) {
243
return -1;
0 commit comments