# DhtmlCalendarHelper

**URL:** <https://www.ruby-forum.com/t/dhtmlcalendarhelper/163596>\
**Category:** Rails\
**Created:** [March 22, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/dhtmlcalendarhelper/163596 "2009-03-22T21:06:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pink-ink](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/9dc877/32.png) [@pink-ink](https://www.ruby-forum.com/u/pink-ink)\
**Post date:** [March 22, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/dhtmlcalendarhelper/163596/1 "2009-03-22T21:06:53Z")

</div>

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
