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

Move the extensions for Time to the corresponding locations #1147

Merged
merged 1 commit into from
Apr 4, 2024

Conversation

nobu
Copy link
Member

@nobu nobu commented Apr 4, 2024

Although Time#to_date and Time#to_datetime are defined in Time, they belong to the "date" library and should be placed in the corresponding locations for each class.

Fix #1146.

Although `Time#to_date` and `Time#to_datetime` are defined in `Time`,
they belong to the "date" library and should be placed in the
corresponding locations for each class.

Fix ruby#1146.
@hsbt hsbt merged commit 0ce0633 into ruby:master Apr 4, 2024
14 checks passed
@eregon
Copy link
Member

eregon commented Apr 4, 2024

Thanks!

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

Successfully merging this pull request may close these issues.

Where should Time#to_date and Time#to_datetime be?
3 participants