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
@spencermountain Thanks, for your more information, I found there is a workaround to avoid this bug:
date.add(30*12, 'month'),
will get correct result: "2030-01-01 00:00:00"
Expected: "2030-01-01 00:00:00"
Received: "2029-01-01 00:00:00"
It happens when unit is year and when the value is a multiple of 5.
Just curiosity, why not just add value to the year numerically?
The text was updated successfully, but these errors were encountered: