-
-
Notifications
You must be signed in to change notification settings - Fork 693
Open
Labels
Description
Issue Description
when executing the following statement:
import arrow
arrow.get('95-03-10 23:01:44','YY-M-D HH:mm:ss')
<Arrow [1995-03-10T23:01:44+00:00]>
the library returns me the date, but I gave it a single M, so it shouldn't have done the .get() but it did. one would expect it to fail, as the correct format should be 'YY-MM-D HH:mm:ss' for that same example.
I would like to know if this is a bug or is there a parameter to force the match to be exact?
System Info
- 🖥 ubuntu 18.04 32 bits
- 🐍 Python 3.8.5
- 🏹 1.2.1