fix time.cpp using incorrect date time library

This commit is contained in:
AdenKoperczak 2024-09-19 13:14:41 -04:00
parent b16a299b16
commit 5c3bcaa0ce

View file

@ -59,7 +59,7 @@ std::string TimeString(std::chrono::system_clock::time_point time,
{ {
using namespace std::chrono; using namespace std::chrono;
#if !(defined(_MSC_VER) || defined(__clang__)) #if (defined(_MSC_VER) || defined(__clang__))
# define FORMAT_STRING_24_HOUR "{:%Y-%m-%d %H:%M:%S %Z}" # define FORMAT_STRING_24_HOUR "{:%Y-%m-%d %H:%M:%S %Z}"
# define FORMAT_STRING_12_HOUR "{:%Y-%m-%d %I:%M:%S %p %Z}" # define FORMAT_STRING_12_HOUR "{:%Y-%m-%d %I:%M:%S %p %Z}"
namespace date = std::chrono; namespace date = std::chrono;