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
todord (Bug 65727):
If you try to add days to the current day or specific date by using the timeShift function, and the generated date is between 26 December and 31 December, one year is also added.
For example, if the date is 2021-12-07 (YYYY-MM-dd) and I add 19 days (P19D) the date generated is 2022-12-26 instead of Bug 2021-12-26.
Created attachment jmeter2.png: Specific values where the bug is present
Severity: normal
OS: All
The text was updated successfully, but these errors were encountered:
@FSchumacher (migrated from Bugzilla):
OK, I digged a bit deeper and this is a combination of two things. First you didn't specify a locale and therefore a default one is used, which is most probably an English based one. The second factor is the usage of the big Y instead of the small y. The big Y means week-based-year. The result might be surprising (it was to me, too), but correct. I think you want to use yyyy-MM-dd.
OK, I digged a bit deeper and this is a combination of two things. First you
didn't specify a locale and therefore a default one is used, which is most
probably an English based one. The second factor is the usage of the big Y
instead of the small y. The big Y means week-based-year. The result might be
surprising (it was to me, too), but correct. I think you want to use
yyyy-MM-dd.
Thanks for the response, this was good to know, the small y fixed the problem for me.
todord (Bug 65727):
If you try to add days to the current day or specific date by using the timeShift function, and the generated date is between 26 December and 31 December, one year is also added.
For example, if the date is 2021-12-07 (YYYY-MM-dd) and I add 19 days (P19D) the date generated is 2022-12-26 instead of Bug 2021-12-26.
Created attachment jmeter2.png: Specific values where the bug is present
Severity: normal
OS: All
The text was updated successfully, but these errors were encountered: