DusanKasan / parsemail

Simple email parsing for Golang
MIT License
212 stars 138 forks source link

Fix time #9

Closed EdwinLove closed 4 years ago

EdwinLove commented 5 years ago

Where a date string ends with a timezone suffix - e.g. (GMT) - strip this off as it is redundant but some email servers will add it

DusanKasan commented 4 years ago

Merged but I removed the regex as the regex engine would slow the thing down substantially. Instead we just parse two more time formats.