2015 is interpreting incorrectly
shivanand3939 opened this issue · 0 comments
shivanand3939 commented
As of now, 2015 is interpreting as Yr: 20, Month: 1, Day: 5
But it should be interpreted as Year 2015.....
Changing
p["date"] = (
"(?P"
+ "|".join(
[p["iso"] , p["mdy"], p["dmy"], p["ymd"], p["my"] , p["y"]]
)
+ ")"
)
to
p["date"] = (
"(?P"
+ "|".join(
[p["iso"] , p["y"], p["mdy"], p["dmy"], p["ymd"], p["my"] ]
)
+ ")"
)
i.e putting p["y"] at the start is solving this... pls share your thoughts