Flowdock

Getting dates in different convenient string representations and other objects

Constants

DATE_FORMATS = { :short => "%e %b", :long => "%B %e, %Y", :db => "%Y-%m-%d", :long_ordinal => lambda { |date| date.strftime("%B #{date.day.ordinalize}, %Y") }, # => "April 25th, 2007" :rfc822 => "%e %b %Y"

Attributes

Show files where this module is defined (1 file)
Register or log in to add new notes.