change full date format to unambiguous Mon DD YYYY

This commit is contained in:
HJfod 2024-03-03 00:45:26 +02:00
parent 04d4df1326
commit a152b60059

View file

@ -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) {