Sha256: 94491bc0300a83ccc8957ad60b2f1277c0a247951403622440e9082413d6385e

Contents?: true

Size: 141 Bytes

Versions: 6

Compression:

Stored size: 141 Bytes

Contents

# 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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
merb-core-1.1.3 lib/merb-core/core_ext/time.rb
merb-core-1.1.2 lib/merb-core/core_ext/time.rb
merb-core-1.1.1 lib/merb-core/core_ext/time.rb
merb-core-1.1.0 lib/merb-core/core_ext/time.rb
merb-core-1.1.0.rc1 lib/merb-core/core_ext/time.rb
merb-core-1.1.0.pre lib/merb-core/core_ext/time.rb