This is an automated email from the ASF dual-hosted git repository.
sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 9af8a127 Needs to be a string
9af8a127 is described below
commit 9af8a127feed9e70aae2e747343992ea10bd91bd
Author: Sebb <[email protected]>
AuthorDate: Tue Apr 12 11:44:17 2022 +0100
Needs to be a string
---
tools/parsemail.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/parsemail.rb b/tools/parsemail.rb
index 73ee8643..07552fe6 100755
--- a/tools/parsemail.rb
+++ b/tools/parsemail.rb
@@ -60,7 +60,7 @@ Dir.glob("#{maildir}/[0-9a-f][0-9a-f]*").each do |p|
Emails: [(mail[:to].addresses.map(&:to_str) rescue
[]),(mail[:cc].addresses.map(&:to_str) rescue [])].flatten,
MessageId: mail.message_id, # could be nil
EnvelopeFrom: mail.envelope_from,
- EnvelopeDate: mail.envelope_date, # effectively the delivery date
to the mailing list
+ EnvelopeDate: mail.envelope_date.to_s, # effectively the delivery
date to the mailing list
}
data[name] = entry
end