mirror of
https://github.com/github/rails.git
synced 2026-01-29 08:18:03 -05:00
Fix end of day
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5523 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -151,7 +151,7 @@ module ActiveSupport #:nodoc:
|
||||
|
||||
# Returns a new Time representing the end of the day (23:59:59)
|
||||
def end_of_day
|
||||
change(:hour => 23, :minute => 59, :sec => 59)
|
||||
change(:hour => 23, :min => 59, :sec => 59)
|
||||
end
|
||||
|
||||
# Returns a new Time representing the start of the month (1st of the month, 0:00)
|
||||
|
||||
Reference in New Issue
Block a user