mirror of
https://github.com/ruby/ruby.git
synced 2026-10-28 16:36:20 +08:00
RFC 3339 allows only "T", and by convention a space, between the date and the time, but Date._rfc3339 also accepts \t, \n, \v, \f and \r. Warn on those under Warning[:deprecated] before they become an error. The separator is now captured so rfc3339_cb can inspect it, which shifts the remaining group indices. https://github.com/ruby/date/commit/ffb9d45105