Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

UpdateDateTime#change to support usec and nsec#28242

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@pixeltrix
Copy link
Contributor

Adding support for these options now allows us to update theDateTime#end_of methods to match the equivalentTime#end_of methods, e.g:

datetime = DateTime.now.end_of_daydatetime.nsec == 999999999 # => true

Fixes#21424.

Adding support for these options now allows us to update the`DateTime#end_of` methods to match the equivalent `Time#end_of`methods, e.g:    datetime = DateTime.now.end_of_day    datetime.nsec == 999999999 # => trueFixes#21424.
@pixeltrixpixeltrixforce-pushed theadd-fractional-support-to-datetime-change branch from495bde7 tob5af751CompareMarch 2, 2017 06:03
@pixeltrixpixeltrix merged commita815c7c intomasterMar 2, 2017
@pixeltrixpixeltrix deleted the add-fractional-support-to-datetime-change branchMarch 2, 2017 07:57
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@pixeltrix@maclover7

[8]ページ先頭

©2009-2025 Movatter.jp