diff options
author | Reto Brunner <reto@labrat.space> | 2020-06-26 09:25:53 +0200 |
---|---|---|
committer | Reto Brunner <reto@labrat.space> | 2020-06-26 09:25:53 +0200 |
commit | 8f1c6c46ff1de2d94377c0cf20fdc8bbdba59fef (patch) | |
tree | 5ebbdb98a2f28419c6cdaf193c5dc76ebaea5c45 /models | |
parent | 91db250272502f9d1f1f388fa59f5782fd103815 (diff) | |
download | aerc-8f1c6c46ff1de2d94377c0cf20fdc8bbdba59fef.tar.gz |
Fix dates in reply/forward commands.
The data was passed around as a string for some reason, which led to time precision loss and wrong dates being displayed. Simply pass the time as is to fix that.
Diffstat (limited to 'models')
-rw-r--r-- | models/models.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go index 7654cf0..d61b774 100644 --- a/models/models.go +++ b/models/models.go @@ -170,7 +170,7 @@ func FormatAddresses(addrs []*Address) string { // OriginalMail is helper struct used for reply/forward type OriginalMail struct { - Date string + Date time.Time From string Text string MIMEType string |