> On 13 Dec 2021, at 05:23, rir <rir...@comcast.net> wrote:
> 
> 
> REPL says:
>> Date.new("2024-02-29").later( :1year);
>    2025-02-28
> 
> Is the following some standard?

I'm not sure...

Basically when moving by month / year, it just basically moves that field in 
the date, and then checks for validity of the resulting date, and then adapts 
(within the given month) to the first legal date.

Since you're moving by month / year, it felt as the way for the least surprise.



Liz

Reply via email to