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

Add Time#at_{beginning,end}_of_second #6167

Merged
merged 3 commits into from Jun 10, 2018

Conversation

straight-shoota
Copy link
Member

  • Adds Time#at_beginning_of_second, Time#at_end_of_second
  • Adds spec helper for Time-at specs
  • Improves Time-at expectations to take nanoseconds into account
  • Optimizes implementation of Time#at_beginning_of_minute, Time#at_end_of_minute - they don't need to do calendaric calculations.

@RX14 RX14 added this to the 0.25.0 milestone Jun 10, 2018
@RX14 RX14 merged commit 844792e into crystal-lang:master Jun 10, 2018
@straight-shoota straight-shoota deleted the jm/feature/time-at-second branch June 10, 2018 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants