date time format

This commit is contained in:
Laserlicht
2023-12-16 18:57:38 +01:00
parent 3cf22f0395
commit 56562ad8dc
7 changed files with 44 additions and 49 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ VCMI_LIB_NAMESPACE_BEGIN
namespace vstd
{
DLL_LINKAGE std::string getFormattedDateTime(std::time_t dt);
DLL_LINKAGE std::string getFormattedDateTime(std::time_t dt, std::string format = "");
DLL_LINKAGE std::string getDateTimeISO8601Basic(std::time_t dt);
}