This question about Configuration: Answered

British vs US date format in Forms

When entering data into a form with a "date" field, data can be entered using either the keyboard or using the mouse to activate a drop-down calendar.

If the keyboard entered date is in the format MM/DD/YYYY, clicking on the drop-down calendar brings up the correct date, and formats it appropriately.

If the date is entered in the format DD/MM/YYYY, it will only be recognised correctly if DD is greater than 12 (i.e. it does not fit the MM/DD/YYYY or US date specification).

Is it possible to default to the DD/MM/YYYY format?


Accepted Answer

You can set a default format in $Foswiki::cfg{JSCalendarContrib}{format} in lib/LocalSite.cfg. See JSCalendarContrib for further documentation.

-- OliverKrueger - 09 Oct 2009

QuestionForm edit

Subject Configuration
Extension
Version Foswiki 1.0.6
Status Answered
Topic revision: r3 - 22 Oct 2009, AndrewJones - This page was cached on 09 Jan 2018 - 10:49.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License