From 9eb50432aabf0e09f3db66294564ec91fac2c94d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 6 Jan 2025 20:00:59 +0100 Subject: Fix email date format in non-English locales (#2928). --- src/lib/email.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/lib/email.h') diff --git a/src/lib/email.h b/src/lib/email.h index 24f20956a..3f9cf1dd8 100644 --- a/src/lib/email.h +++ b/src/lib/email.h @@ -24,6 +24,9 @@ #include +struct email_date_format_test; + + class Email { public: @@ -51,6 +54,7 @@ public: static std::string address_list(std::vector addresses); private: + friend struct ::email_date_format_test; std::string fix (std::string s) const; static std::string encode_rfc1342 (std::string subject); -- cgit v1.2.3