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 0c280edf Default to envelope time
0c280edf is described below
commit 0c280edf904c8416b9d2f1370be4e9294ad71a48
Author: Sebb <[email protected]>
AuthorDate: Fri Feb 27 23:35:56 2026 +0000
Default to envelope time
---
www/secretary/workbench/models/message.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/www/secretary/workbench/models/message.rb
b/www/secretary/workbench/models/message.rb
index 2d4676ca..d9904f0b 100644
--- a/www/secretary/workbench/models/message.rb
+++ b/www/secretary/workbench/models/message.rb
@@ -474,7 +474,7 @@ class Message
envelope_date: mail.envelope_date.to_s, # effectively the delivery date
to secretary@
from: mail.from_addrs.first,
name: from,
- time: (mail.date.to_time.gmtime.iso8601 rescue nil),
+ time: (mail.date.to_time.gmtime.iso8601 rescue mail.envelope_date.to_s),
cc: cc
}