mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 17:36:05 -05:00
change full date format to unambiguous Mon DD YYYY
This commit is contained in:
parent
04d4df1326
commit
a152b60059
1 changed files with 1 additions and 2 deletions
|
@ -96,8 +96,7 @@ std::string ServerDateTime::toAgoString() const {
|
|||
if (len < 31) {
|
||||
return fmtPlural(len, "day");
|
||||
}
|
||||
// todo: will our pissbaby american users beg us to add an option for their stupid ass incorrect date format
|
||||
return fmt::format("{:&d.%m.&Y}", value);
|
||||
return fmt::format("{:%b %d %Y}", value);
|
||||
}
|
||||
|
||||
Result<ServerDateTime> ServerDateTime::parse(std::string const& str) {
|
||||
|
|
Loading…
Reference in a new issue