You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So to parse I replaced the month names and as I now tried to parse as follows I got an unexpected result:
irb(main):009:0> Chronic.parse('11. july 2014')
=> 2014-07-16 NOT OK
irb(main):008:0> Chronic.parse('11 july 2014')
=> 2014-07-11 OK
So as soon as there is a . after the day, the parsing gets mixed up. Even though this might not be an official format I still would not expect the . to interfere with the parsing.
The text was updated successfully, but these errors were encountered:
The German format may look like this:
So to parse I replaced the month names and as I now tried to parse as follows I got an unexpected result:
So as soon as there is a
.
after the day, the parsing gets mixed up. Even though this might not be an official format I still would not expect the.
to interfere with the parsing.The text was updated successfully, but these errors were encountered: