1
0
Fork 0
miniflux/internal/reader/date
jvoisin 040938ff6d Small refactoring of internal/reader/date/parser.go
- Split dates formats into those that require local times
  and those who don't, so that there is no need to have a switch-case in the
  for loop with around 250 iterations at most.
- Be more strict when it comes to timezones, previously invalid ones like -13
  were accepted. Also add a test for this.
- Bail out early if the date is an empty string.
2024-02-26 18:08:04 -08:00
..
parser.go Small refactoring of internal/reader/date/parser.go 2024-02-26 18:08:04 -08:00
parser_test.go Small refactoring of internal/reader/date/parser.go 2024-02-26 18:08:04 -08:00