[ZH DatetimeV2] Behavior change for month and day order in resolution #2375
Locked
omarelhariry
started this conversation in
General
Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the bug
There is a behavior change in the resolution for DateTime entity for chinese. The query "12/1" used to be detected as Dec 1st but now it is detected as Jan 12th.
To Reproduce
Create a test file that calls
DateTimeModel.Parse
method with a test case of "12/1".Validate returned result.
Use 2 different versions, I used versions 1.3.2 and 1.4.0, (one lower and one higher than or equal to 1.4) the lower version detects Dec 1st while the higher version detects Jan 12th.
Expected behavior
Resolution to be Dec 1st. "XXXX-12-01"
Sample input/output
Input:
"12/1"
Faulty output:
Jan 12th "XXXX-01-12"
Expected output:
Dec 1st "XXXX-12-01"
Platform (please complete the following information):
Additional context
Beta Was this translation helpful? Give feedback.
All reactions