> REPL says: > > Date.new("2024-02-29").later( :1year); > 2025-02-28 > Is the following some standard?
The string format complies to ISO8601 day format from date(1) -I[FMT], --iso-8601[=FMT] output date/time in ISO 8601 format. FMT='date' for date only (the default), 'hours', 'minutes', 'seconds', or 'ns' for date and time to the indicated preci- sion. Example: 2006-08-14T02:34:56-06:00 so date -Im can do the same. regards marc