Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Date#iso8601からrfc3339の記載を削除 #2953

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sadanora
Copy link
Contributor

@sadanora sadanora commented Mar 3, 2025

refs #2904

Date#iso8601からDate#rfc3339の記述を削除しました。

補足
ruby 3.4.2と2.7.8で挙動を確認しましたが、バージョンによる結果の差異はありませんでした。

$ ruby -v
ruby 3.4.2 (2025-02-15 revision d2930f8e7a) +PRISM [arm64-darwin23]
$ irb
>> Date.today.rfc3339
=> "2025-03-03T00:00:00+00:00"
>> Date.today.iso8601
=> "2025-03-03"
$ ruby -v
ruby 2.7.8p225 (2023-03-30 revision 1f4d455848) [arm64-darwin23]
$ irb
>> require 'Date'
=> true
>> Date.today.rfc3339
=> "2025-03-03T00:00:00+00:00"
>> Date.today.iso8601
=> "2025-03-03"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant