Hi RoR community,
for my webapp I need the german date format.
To display the german date format like 31.12.2009, I implemented in the
environment.rb following:
ActiveSupport::CoreExtensions::Conversions::DATE_FORMATS.merge!(
:default => ’ %d.%m.%Y ’
)
If I use the DhtmlCalendarHelper “calendar_field” the date in edit-mode
is diplayed in german date-format, like 21.11.1990.
If I use the DhtmlCalendarHelper “calendar_box” the date in edit-mode
falls back to american date-format, like 1990-11-21.
Do somebody knows why?
Thanks ahead for every answer!
Regs,
hermann