Created
August 9, 2015 23:07
-
-
Save scaint/43f36440534f1c313e45 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Date.today # => Mon, 10 Aug 2015 | |
Date.current # => Sun, 09 Aug 2015 | |
# File activesupport/lib/active_support/core_ext/date_and_time/calculations.rb, line 24 | |
# def today? | |
# to_date == ::Date.current | |
# end | |
Date.today.today? # => false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment