1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

Handle more invalid dates

Fixes #617
This commit is contained in:
Frédéric Guillot 2020-04-25 20:03:39 -07:00
parent 7accdc4416
commit 619aa58fb3
2 changed files with 5 additions and 0 deletions

View file

@ -129,6 +129,9 @@ func TestParseWeirdDateFormat(t *testing.T) {
"Tue 16 Feb 2016, 23:16:00 EDT",
"Tue, 16 Feb 2016 23:16:00 EDT",
"Tue, Feb 16 2016 23:16:00 EDT",
"March 30 2020 07:02:38 PM",
"Mon, 30 Mar 2020 19:53 +0000",
"Mon, 03/30/2020 - 19:19",
}
for _, date := range dates {