Module ActiveSupport::CoreExtensions::Time::Conversions
In: lib/active_support/core_ext/time/conversions.rb

Getting times in different convenient string representations and other objects

Methods

Constants

DATE_FORMATS = { :db => "%Y-%m-%d %H:%M:%S", :short => "%e %b %H:%M", :long => "%B %e, %Y %H:%M"

Public Class methods

Public Instance methods

To be able to keep Dates and Times interchangeable on conversions

[Validate]