mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-18 09:10:17 -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) {
|
if (len < 31) {
|
||||||
return fmtPlural(len, "day");
|
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("{:%b %d %Y}", value);
|
||||||
return fmt::format("{:&d.%m.&Y}", value);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Result<ServerDateTime> ServerDateTime::parse(std::string const& str) {
|
Result<ServerDateTime> ServerDateTime::parse(std::string const& str) {
|
||||||
|
|
Loading…
Reference in a new issue