End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
instance method
Date#iso8601
d.iso8601 → string
ext/date/date_core.c
View on GitHub ↗
static VALUE
d_lite_iso8601(VALUE self)
{
return strftimev("%Y-%m-%d", self, set_tmx);
}
This method is equivalent to strftime(‘%F’).