diff options
Diffstat (limited to 'Userland/Libraries/LibIMAP/Objects.cpp')
-rw-r--r-- | Userland/Libraries/LibIMAP/Objects.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Userland/Libraries/LibIMAP/Objects.cpp b/Userland/Libraries/LibIMAP/Objects.cpp index 01d946b8cd..ed5dc56578 100644 --- a/Userland/Libraries/LibIMAP/Objects.cpp +++ b/Userland/Libraries/LibIMAP/Objects.cpp @@ -151,7 +151,7 @@ DeprecatedString SearchKey::serialize() const [&](New const&) { return DeprecatedString("NEW"); }, [&](Not const& x) { return DeprecatedString::formatted("NOT {}", x.operand->serialize()); }, [&](Old const&) { return DeprecatedString("OLD"); }, - [&](On const& x) { return DeprecatedString::formatted("ON {}", x.date.to_string("%d-%b-%Y"sv)); }, + [&](On const& x) { return DeprecatedString::formatted("ON {}", x.date.to_deprecated_string("%d-%b-%Y"sv)); }, [&](Or const& x) { return DeprecatedString::formatted("OR {} {}", x.lhs->serialize(), x.rhs->serialize()); }, [&](Recent const&) { return DeprecatedString("RECENT"); }, [&](SearchKeys const& x) { @@ -167,11 +167,11 @@ DeprecatedString SearchKey::serialize() const return sb.build(); }, [&](Seen const&) { return DeprecatedString("SEEN"); }, - [&](SentBefore const& x) { return DeprecatedString::formatted("SENTBEFORE {}", x.date.to_string("%d-%b-%Y"sv)); }, - [&](SentOn const& x) { return DeprecatedString::formatted("SENTON {}", x.date.to_string("%d-%b-%Y"sv)); }, - [&](SentSince const& x) { return DeprecatedString::formatted("SENTSINCE {}", x.date.to_string("%d-%b-%Y"sv)); }, + [&](SentBefore const& x) { return DeprecatedString::formatted("SENTBEFORE {}", x.date.to_deprecated_string("%d-%b-%Y"sv)); }, + [&](SentOn const& x) { return DeprecatedString::formatted("SENTON {}", x.date.to_deprecated_string("%d-%b-%Y"sv)); }, + [&](SentSince const& x) { return DeprecatedString::formatted("SENTSINCE {}", x.date.to_deprecated_string("%d-%b-%Y"sv)); }, [&](SequenceSet const& x) { return x.sequence.serialize(); }, - [&](Since const& x) { return DeprecatedString::formatted("SINCE {}", x.date.to_string("%d-%b-%Y"sv)); }, + [&](Since const& x) { return DeprecatedString::formatted("SINCE {}", x.date.to_deprecated_string("%d-%b-%Y"sv)); }, [&](Smaller const& x) { return DeprecatedString::formatted("SMALLER {}", x.number); }, [&](Subject const& x) { return DeprecatedString::formatted("SUBJECT {}", serialize_astring(x.subject)); }, [&](Text const& x) { return DeprecatedString::formatted("TEXT {}", serialize_astring(x.text)); }, |