module TimeJawn

The base module of the TimeJawn gem. Everything in here assumes that your model has a valid time zone in a attribute name time_zone or has been delegating one to somewhere else.

Constants

DATE_FORMAT

Public Class Methods

included(base) click to toggle source

Automatically runs and adds ClassMethods to ActiveRecord::Base

# File lib/time_jawn/time_jawn.rb, line 12
def self.included(base)
  base.send :extend, ClassMethods
end