Class: Planik::Lohnausweis::DateFormatter

Inherits:
Formatter
  • Object
show all
Defined in:
lib/lohnausweis/arbeitslistespalten.rb

Instance Attribute Summary

Attributes inherited from Formatter

#align_right

Instance Method Summary collapse

Methods inherited from Formatter

#initialize, #summe

Constructor Details

This class inherits a constructor from Planik::Lohnausweis::Formatter

Instance Method Details

#format(datum) ⇒ Object



20
21
22
# File 'lib/lohnausweis/arbeitslistespalten.rb', line 20

def format datum
  I18n.l(datum, format: :mit_wochentag, locale: :de)
end