mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-20 20:23:03 +02:00
correct format
This commit is contained in:
parent
09cf8376db
commit
a4769782c5
@ -13,8 +13,8 @@ namespace vstd
|
||||
DLL_LINKAGE std::string getFormattedDateTime(std::time_t dt)
|
||||
{
|
||||
#if defined(VCMI_ANDROID)
|
||||
CAndroidVMHelper vmHelper;
|
||||
return vmHelper.callStaticStringMethod(CAndroidVMHelper::NATIVE_METHODS_DEFAULT_CLASS, "getFormattedDateTime");
|
||||
CAndroidVMHelper vmHelper;
|
||||
return vmHelper.callStaticStringMethod(CAndroidVMHelper::NATIVE_METHODS_DEFAULT_CLASS, "getFormattedDateTime");
|
||||
#endif
|
||||
|
||||
std::tm tm = *std::localtime(&dt);
|
||||
|
Loading…
Reference in New Issue
Block a user