Module: OrdinalizedFormatting

Module | OrdinalizedFormatting
In: | lib/merb-helpers/date_time_formatting.rb

Time.now.to_ordinalized_s :long

# > "February 28th, 2006 21:10"

### Methods

strftime_ordinalized to_ordinalized_s

### Public Instance methods

strftime_ordinalized(fmt, format=nil)

Gives you a relative date in an attractive format

#### Parameters

format<String>: | strftime string used to format a time/date object
locale<String, Symbol>: | An optional value which can be used by localization plugins

#### Returns

String: | Ordinalized time/date object

#### Examples

       5.days.ago.strftime_ordinalized('%b %d, %Y')     # =>

to_ordinalized_s(format = :default)

[Validate]