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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user