aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorTony Ta <tonyta.tt@gmail.com>2015-12-15 22:45:59 -0800
committerTony Ta <tonyta.tt@gmail.com>2015-12-15 23:16:02 -0800
commit2925cde881e888f01504c9f17c798dd0037b7a18 (patch)
tree2612f4431a45bbec13fa8144955d3971da980f2b /activesupport
parent1e15af5a9d50b80cecb05081c134df151918d600 (diff)
downloadrails-2925cde881e888f01504c9f17c798dd0037b7a18.tar.gz
rails-2925cde881e888f01504c9f17c798dd0037b7a18.tar.bz2
rails-2925cde881e888f01504c9f17c798dd0037b7a18.zip
delete code commented out (and replaced) in e93d0a5
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/time/calculations.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/time/calculations.rb b/activesupport/lib/active_support/core_ext/time/calculations.rb
index 675db8a36b..768c9a1b2c 100644
--- a/activesupport/lib/active_support/core_ext/time/calculations.rb
+++ b/activesupport/lib/active_support/core_ext/time/calculations.rb
@@ -162,7 +162,6 @@ class Time
# Returns a new Time representing the start of the day (0:00)
def beginning_of_day
- #(self - seconds_since_midnight).change(usec: 0)
change(:hour => 0)
end
alias :midnight :beginning_of_day