1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Client-side update, adapted and fixed login and chat

This commit is contained in:
Ivan Savenko
2024-01-08 20:50:43 +02:00
parent 4271fb3c95
commit 47f72af556
12 changed files with 267 additions and 80 deletions

View File

@@ -219,4 +219,10 @@ std::string TextOperations::getFormattedDateTimeLocal(std::time_t dt)
return vstd::getFormattedDateTime(dt, Languages::getLanguageOptions(settings["general"]["language"].String()).dateTimeFormat);
}
std::string TextOperations::getFormattedTimeLocal(std::time_t dt)
{
return vstd::getFormattedDateTime(dt, "%H:%M");
}
VCMI_LIB_NAMESPACE_END