From 3cac3160302a2936d04c87c1f7f03fc400449778 Mon Sep 17 00:00:00 2001 From: George Hazan <george.hazan@gmail.com> Date: Tue, 7 May 2024 11:45:47 +0300 Subject: TimeZone_ToStringT - obsolete macro removed --- plugins/IEView/src/TemplateHTMLBuilder.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/IEView/src/TemplateHTMLBuilder.cpp') diff --git a/plugins/IEView/src/TemplateHTMLBuilder.cpp b/plugins/IEView/src/TemplateHTMLBuilder.cpp index eada37b35c..0c83b98d07 100644 --- a/plugins/IEView/src/TemplateHTMLBuilder.cpp +++ b/plugins/IEView/src/TemplateHTMLBuilder.cpp @@ -82,7 +82,7 @@ char *TemplateHTMLBuilder::timestampToString(uint32_t dwFlags, time_t check, int wchar_t str[300]; if (mode) // time - TimeZone_ToStringT(check, (dwFlags & Options::LOG_SHOW_SECONDS) ? L"s" : L"t", str, _countof(str)); + TimeZone_ToStringW(check, (dwFlags & Options::LOG_SHOW_SECONDS) ? L"s" : L"t", str, _countof(str)); else { // date struct tm tm_now, tm_today; time_t now = time(0); @@ -96,7 +96,7 @@ char *TemplateHTMLBuilder::timestampToString(uint32_t dwFlags, time_t check, int else if (dwFlags & Options::LOG_RELATIVE_DATE && check > (today - 86400)) wcsncpy(str, TranslateT("Yesterday"), _countof(str)); else - TimeZone_ToStringT(check, (dwFlags & Options::LOG_LONG_DATE) ? L"D" : L"d", str, _countof(str)); + TimeZone_ToStringW(check, (dwFlags & Options::LOG_LONG_DATE) ? L"D" : L"d", str, _countof(str)); } mir_strncpy(szResult, T2Utf(str), 500); -- cgit v1.2.3