/usr/lib/ruby/vendor_ruby/merb-core/core_ext/time.rb is in ruby-merb-core 1.1.3+dfsg-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | # Declared to bypass a rubygems 1.3.2 bug :(
class Time
def self.today
t = Time.now
t - ((t.to_f + t.gmt_offset) % 86400)
end
end
|