sup-heliotrope / sup

A curses threads-with-tags style email client (mailing list: supmua@googlegroups.com)
http://sup-heliotrope.github.io
GNU General Public License v2.0
900 stars 97 forks source link

Ungrammatical patina text for enclosed message without Date #570

Closed IPv2 closed 4 years ago

IPv2 commented 4 years ago

For an enclosed message without a Date header, the patina text is ungrammatical: Begin enclosed message sent on

Offending code: https://github.com/sup-heliotrope/sup/blob/de922cf7c20922286b5efe964c39dd57ab7e5771/lib/sup/message_chunks.rb#L305

We handle a missing Date header gracefully just above this, but not in the patina text. https://github.com/sup-heliotrope/sup/blob/de922cf7c20922286b5efe964c39dd57ab7e5771/lib/sup/message_chunks.rb#L280-L283