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

Methods

Public Instance methods

[Source]

     # File vendor/plugins/gettext_localize/lib/gettext_localize_extend.rb, line 157
157:   def localized_formats
158:     { :default => s_("datetime|default|%a %b %d %H:%M:%S %Y"),
159:       :short => s_("datetime|short|%e %b"),
160:       :long => s_("datetime|long|%B %e, %Y"),
161:     }
162:   end

[Source]

     # File vendor/plugins/gettext_localize/lib/gettext_localize_extend.rb, line 152
152:   def not_localized_formats
153:     { :default => "%a %b %d %H:%M:%S %Y",
154:       :db => "%Y-%m-%d %H:%M:%S",
155:     }
156:   end

[Validate]