Feature: Specify date format used for parsing #475

Open
JanPetterMG opened this Issue Oct 17, 2016 · 0 comments

Projects

None yet

1 participant

@JanPetterMG
Contributor
JanPetterMG commented Oct 17, 2016 edited

Some feeds are using non-standard date formats.
For example, today's date could be specified as both 17-10-16 (d-m-y) and 16-10-17 (y-m-d), depending on the host.

How to specify a custom date format as source/input format?

Currently I'm handling this issue externally, re-parsing the dates for specific feeds, but when source date includes months and weekdays in a local language, everything gets a lot more complicated...

EDIT:
There is no way doing this in the current version (1.4.x), so consider this an feature request.
Simplepie already handles translations internally, so I guess it makes more sense to implement it, than handling the whole date-parsing process externally.

@JanPetterMG JanPetterMG changed the title from How to specify source date format to Feature: Specify date format used for parsing Oct 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment