diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-06 20:00:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-07 20:22:28 +0100 |
| commit | 9eb50432aabf0e09f3db66294564ec91fac2c94d (patch) | |
| tree | 1ba55735215ae3f39d061513b6a58d91f0e40f9e /src/lib/email.h | |
| parent | cf50dd3ac0153935f6b4f1ae9da16bc2b473d1a0 (diff) | |
Fix email date format in non-English locales (#2928).2928-email
Diffstat (limited to 'src/lib/email.h')
| -rw-r--r-- | src/lib/email.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 <boost/scoped_array.hpp> +struct email_date_format_test; + + class Email { public: @@ -51,6 +54,7 @@ public: static std::string address_list(std::vector<std::string> addresses); private: + friend struct ::email_date_format_test; std::string fix (std::string s) const; static std::string encode_rfc1342 (std::string subject); |
