Method: Lazier::DateTime::ClassMethods#custom_format
- Defined in:
- lib/lazier/datetime.rb
#custom_format(key) ⇒ String
Lookups a custom datetime format.
63 64 65 |
# File 'lib/lazier/datetime.rb', line 63 def custom_format(key) ::Lazier.settings.date_formats.fetch(key, key) end |