Open XihuaZ opened 12 months ago
Yes, it would be clearer if we used yyyy format but we optimized for cli usage and deemed that it is not usually the case the user needs to specify the first 2 digits of the year.
Team chose [response.NotInScope
]
Reason for disagreement: The response of the dev team does not address why the first 2 digits can deviate based on what the last 2 digits are.
This is clearly an error with the code for parsing the Date
attribute, as it does not function as expected. The expected year should always be of 20XX, with only the last 2 digits being customizable. However, in this case putting 83
causes the year to be reflected as 1983
instead of 2083
. This is clearly an unexpected behavior that should not be present since the first 2 digit of the year is supposed to be fixed. Hence, it does not classify under response.NotInScope
.
Information on the fixed first 2 digits can be seen from the paragraph below. There are no mentions of how or why the year within the date
attribute could deviate.
Adding transactions for
on/10/10/33
,on/10/10/43
andon/10/10/83
causes inconsistent date behaviour. Withon/10/10/20
,on/10/10/33
etc., they year is deemed as year 2020 and year 2033 respectively, however, withon/10/10/83
, it is deemed as year 1983.command to reproduce error: