Fix current date format
This commit is contained in:
+1
-1
@@ -422,7 +422,7 @@ template <>
|
|||||||
void fmt_class_string<std::chrono::sys_time<typename std::chrono::system_clock::duration>>::format(std::string& out, u64 arg)
|
void fmt_class_string<std::chrono::sys_time<typename std::chrono::system_clock::duration>>::format(std::string& out, u64 arg)
|
||||||
{
|
{
|
||||||
const std::time_t dateTime = std::chrono::system_clock::to_time_t(get_object(arg));
|
const std::time_t dateTime = std::chrono::system_clock::to_time_t(get_object(arg));
|
||||||
out += date_time::fmt_time("%Y-%m-%eT%H:%M:%S", dateTime);
|
out += date_time::fmt_time("%Y-%m-%dT%H:%M:%S", dateTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
void run_platform_sanity_checks()
|
void run_platform_sanity_checks()
|
||||||
|
|||||||
Reference in New Issue
Block a user