I don't know if this is a complete fix because the date-parsing stuff
is quite arcane and I don't fully understand it, but this at least
seems to solve the problem of Sugar being unable to parse Polish dates
that it has itself formatted.
Coverage remained the same at 96.617% when pulling f97aa12fba602aab3efecf63f4e5e1acd6717963 on jikamens:Sugar662 into 4adba2e6ef8c8734a693af3141461dec6d674d50 on andrewplummer:master.
Fixes andrewplummer/Sugar#662
I don't know if this is a complete fix because the date-parsing stuff is quite arcane and I don't fully understand it, but this at least seems to solve the problem of Sugar being unable to parse Polish dates that it has itself formatted.