Hi, I noticed that when parsing a date with missing month and day of month with {"PREFER_DAY_OF_MONTH": "last", "PREFER_MONTH_OF_YEAR": "last"} settings, we default to the last day of the current month instead of the last day of the last month.
For example, when running this code in February, it will return 2022/12/28 instead of 2022/12/31, as the last day of feb is 28.
Hi, I noticed that when parsing a date with missing month and day of month with
{"PREFER_DAY_OF_MONTH": "last", "PREFER_MONTH_OF_YEAR": "last"}
settings, we default to the last day of the current month instead of the last day of the last month.For example, when running this code in February, it will return
2022/12/28
instead of2022/12/31
, as the last day of feb is 28.