mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
date according to iso8601
This commit is contained in:
parent
58bfd27aad
commit
f0c0beb9e0
@ -105,7 +105,7 @@ std::string StatisticDataSet::toCsv()
|
|||||||
for(auto & entry : data)
|
for(auto & entry : data)
|
||||||
{
|
{
|
||||||
ss << entry.map << ";";
|
ss << entry.map << ";";
|
||||||
ss << vstd::getFormattedDateTime(entry.timestamp, "%Y-%m-%dT%H-%M-%S") << ";";
|
ss << vstd::getFormattedDateTime(entry.timestamp, "%Y-%m-%dT%H:%M:%S") << ";";
|
||||||
ss << entry.day << ";";
|
ss << entry.day << ";";
|
||||||
ss << GameConstants::PLAYER_COLOR_NAMES[entry.player] << ";";
|
ss << GameConstants::PLAYER_COLOR_NAMES[entry.player] << ";";
|
||||||
ss << entry.team.getNum() << ";";
|
ss << entry.team.getNum() << ";";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user