change timezone format of added messages

This commit is contained in:
Erik Winter 2021-02-01 14:28:46 +01:00
parent edc8c85fef
commit 428e263d46
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ func (es *Imap) Add(folder, subject, body string) error {
Date: %s
Subject: %s
%s`, time.Now().Format(time.RFC822), subject, body)
%s`, time.Now().Format(time.RFC822Z), subject, body)
msg := NewBody(msgStr)