summaryrefslogtreecommitdiff
path: root/plugins/TipperYM/src
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/TipperYM/src
parent2e01b6543458d9e54c99ff7d4d86c9d9e45667d3 (diff)
TimeZone_ToStringT - obsolete macro removed
Diffstat (limited to 'plugins/TipperYM/src')
-rw-r--r--plugins/TipperYM/src/subst.cpp2
-rw-r--r--plugins/TipperYM/src/translations.cpp8
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TipperYM/src/subst.cpp b/plugins/TipperYM/src/subst.cpp
index e2ffcdba4e..035e90cff6 100644
--- a/plugins/TipperYM/src/subst.cpp
+++ b/plugins/TipperYM/src/subst.cpp
@@ -135,7 +135,7 @@ void FormatTimestamp(uint32_t ts, char *szFormat, wchar_t *buff, int bufflen)
{
wchar_t swzForm[16];
a2t(szFormat, swzForm, 16);
- TimeZone_ToStringT(ts, swzForm, buff, bufflen);
+ TimeZone_ToStringW(ts, swzForm, buff, bufflen);
}
bool Uid(MCONTACT hContact, char *szProto, wchar_t *buff, int bufflen)
diff --git a/plugins/TipperYM/src/translations.cpp b/plugins/TipperYM/src/translations.cpp
index 3e457337bf..aeba35e523 100644
--- a/plugins/TipperYM/src/translations.cpp
+++ b/plugins/TipperYM/src/translations.cpp
@@ -160,7 +160,7 @@ wchar_t* TimestampToShortDate(MCONTACT hContact, const char *szModuleName, const
if (ts == 0)
return nullptr;
- return TimeZone_ToStringT(ts, L"d", buff, bufflen);
+ return TimeZone_ToStringW(ts, L"d", buff, bufflen);
}
wchar_t* TimestampToLongDate(MCONTACT hContact, const char *szModuleName, const char *szSettingName, wchar_t *buff, int bufflen)
@@ -169,7 +169,7 @@ wchar_t* TimestampToLongDate(MCONTACT hContact, const char *szModuleName, const
if (ts == 0)
return nullptr;
- return TimeZone_ToStringT(ts, L"D", buff, bufflen);
+ return TimeZone_ToStringW(ts, L"D", buff, bufflen);
}
wchar_t* TimestampToTime(MCONTACT hContact, const char *szModuleName, const char *szSettingName, wchar_t *buff, int bufflen)
@@ -178,7 +178,7 @@ wchar_t* TimestampToTime(MCONTACT hContact, const char *szModuleName, const char
if (ts == 0)
return nullptr;
- return TimeZone_ToStringT(ts, L"s", buff, bufflen);
+ return TimeZone_ToStringW(ts, L"s", buff, bufflen);
}
wchar_t* TimestampToTimeNoSecs(MCONTACT hContact, const char *szModuleName, const char *szSettingName, wchar_t *buff, int bufflen)
@@ -187,7 +187,7 @@ wchar_t* TimestampToTimeNoSecs(MCONTACT hContact, const char *szModuleName, cons
if (ts == 0)
return nullptr;
- return TimeZone_ToStringT(ts, L"t", buff, bufflen);
+ return TimeZone_ToStringW(ts, L"t", buff, bufflen);
}
wchar_t* TimestampToTimeDifference(MCONTACT hContact, const char *szModuleName, const char *szSettingName, wchar_t *buff, int bufflen)