Class Date
In: vendor/plugins/gettext_localize/lib/gettext_localize_extend.rb
Parent: Object

now overwrite the date and time classes

Methods

Included Modules

GettextLocalize::TimeMethods

External Aliases

to_s -> to_s_nolocale
to_s_locale -> to_s
strftime -> strftime_nolocale
strftime_locale -> strftime

Public Instance methods

[Source]

     # File vendor/plugins/gettext_localize/lib/gettext_localize_extend.rb, line 118
118:   def localized_formats
119:     { :default => s_("date|default|%Y-%m-%d"),
120:       :short => s_("date|short|%e %b"),
121:       :long => s_("date|long|%B %e, %Y"),
122:     }
123:   end

[Source]

     # File vendor/plugins/gettext_localize/lib/gettext_localize_extend.rb, line 113
113:   def not_localized_formats
114:     { :default => "%Y-%m-%d",
115:       :db => "%Y-%m-%d",
116:     }
117:   end

[Validate]