method

ago

Importance_1
v2.3.8 - Show latest stable - 0 notes - Class: ActiveSupport::CoreExtensions::Date::Calculations
ago(seconds) public

Converts Date to a Time (or DateTime if necessary) with the time portion set to the beginning of the day (0:00) and then subtracts the specified number of seconds

Show source
Register or log in to add new notes.