Shorten format string

This commit is contained in:
Liru Færs
2019-11-07 12:47:59 -05:00
parent 16a352c70a
commit b527918350

View File

@@ -4130,7 +4130,7 @@ void handlePseudoISO8601(const std::string& date_str, LLSD& column, const std::s
else else
{ {
std::tm time = {}; std::tm time = {};
if (std::istringstream(date_str) >> std::get_time(&time, "%Y-%m-%d %T")) if (std::istringstream(date_str) >> std::get_time(&time, "%F %T"))
{ {
column["value"] = LLDate(mktime(&time)); column["value"] = LLDate(mktime(&time));
column["type"] = "date"; column["type"] = "date";