mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
Move to ISO 8601-compliant timestamps
https://en.wikipedia.org/w/index.php?title=ISO_8601&oldid=819129098
This commit is contained in:
parent
22080c840f
commit
9d9bfee53f
|
@ -124,7 +124,7 @@ void CTeeHistorian::WriteHeader(const CGameInfo *pGameInfo)
|
|||
char aStartTime[128];
|
||||
|
||||
FormatUuid(pGameInfo->m_GameUuid, aGameUuid, sizeof(aGameUuid));
|
||||
str_timestamp_ex(pGameInfo->m_StartTime, aStartTime, sizeof(aStartTime), "%Y-%m-%d %H:%M:%S %z");
|
||||
str_timestamp_ex(pGameInfo->m_StartTime, aStartTime, sizeof(aStartTime), "%Y-%m-%dT%H:%M:%S%z");
|
||||
|
||||
char aCommentBuffer[128];
|
||||
char aServerVersionBuffer[128];
|
||||
|
|
|
@ -84,7 +84,7 @@ protected:
|
|||
static const char PREFIX3[] = "]}";
|
||||
|
||||
char aTimeBuf[64];
|
||||
str_timestamp_ex(m_GameInfo.m_StartTime, aTimeBuf, sizeof(aTimeBuf), "%Y-%m-%d %H:%M:%S %z");
|
||||
str_timestamp_ex(m_GameInfo.m_StartTime, aTimeBuf, sizeof(aTimeBuf), "%Y-%m-%dT%H:%M:%S%z");
|
||||
|
||||
CPacker Buffer;
|
||||
Buffer.Reset();
|
||||
|
|
Loading…
Reference in a new issue