summaryrefslogtreecommitdiff
path: root/plugins/IEView/src/TemplateHTMLBuilder.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-05-07 11:45:47 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-05-07 11:45:47 +0300
commit3cac3160302a2936d04c87c1f7f03fc400449778 (patch)
tree62088adc7c6e12b8e026934f1efc493a9ea8059f /plugins/IEView/src/TemplateHTMLBuilder.cpp
parent2e01b6543458d9e54c99ff7d4d86c9d9e45667d3 (diff)
TimeZone_ToStringT - obsolete macro removed
Diffstat (limited to 'plugins/IEView/src/TemplateHTMLBuilder.cpp')
-rw-r--r--plugins/IEView/src/TemplateHTMLBuilder.cpp4
1 files changed, 2 insertions, 2 deletions
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);