mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
correct format
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user