change timezone format of added messages
This commit is contained in:
parent
edc8c85fef
commit
428e263d46
|
@ -180,7 +180,7 @@ func (es *Imap) Add(folder, subject, body string) error {
|
||||||
Date: %s
|
Date: %s
|
||||||
Subject: %s
|
Subject: %s
|
||||||
|
|
||||||
%s`, time.Now().Format(time.RFC822), subject, body)
|
%s`, time.Now().Format(time.RFC822Z), subject, body)
|
||||||
|
|
||||||
msg := NewBody(msgStr)
|
msg := NewBody(msgStr)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue