mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 13:30:06 +00:00
fix time.cpp using incorrect date time library
This commit is contained in:
parent
b16a299b16
commit
5c3bcaa0ce
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue