summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibIMAP/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibIMAP/Client.cpp')
-rw-r--r--Userland/Libraries/LibIMAP/Client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibIMAP/Client.cpp b/Userland/Libraries/LibIMAP/Client.cpp
index 6a8371d52b..0ce5a6a4c0 100644
--- a/Userland/Libraries/LibIMAP/Client.cpp
+++ b/Userland/Libraries/LibIMAP/Client.cpp
@@ -378,7 +378,7 @@ RefPtr<Promise<Optional<SolidResponse>>> Client::append(StringView mailbox, Mess
args.append(flags_sb.build());
}
if (date_time.has_value())
- args.append(date_time.value().to_string("\"%d-%b-%Y %H:%M:%S +0000\""sv));
+ args.append(date_time.value().to_deprecated_string("\"%d-%b-%Y %H:%M:%S +0000\""sv));
args.append(DeprecatedString::formatted("{{{}}}", message.data.length()));