Skip to content

Conversation

bdewater
Copy link
Contributor

@bdewater bdewater commented Mar 21, 2018

Unless you're dealing with historic times, you should avoid using DateTime as outlined in the Ruby docs:
https://ruby-doc.org/stdlib-2.3.0/libdoc/date/rdoc/DateTime.html#class-DateTime-label-When+should+you+use+DateTime+and+when+should+you+use+Time-3F and the http://rubocop.readthedocs.io/en/latest/cops_style/#styledatetime cop. This is why I didn't benchmark it.

@Arcovion Arcovion merged commit 1b90498 into fastruby:master Mar 21, 2018
@bdewater bdewater deleted the time-and-date-parsing branch March 21, 2018 16:24
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.

2 participants