1. Laurent Zotto
  2. General
  3. Monday, June 06 2016, 08:20 PM
Hello

On my miltilingual site, how can I make the date field being displayed as
Oct. 1st 1970 for english
1. Oktober 1970 for german
aso..
instead of the US format 1970-10-01
admin Accepted Answer
Admin
Hi,
you, can customize format in parameter "Date Format" in field parameters (see screenshot), you can also put in this parameter language constants, for example:

Date Format: DATE_FORMAT_CUSTOM
en-GB: DATE_FORMAT_CUSTOM => Y-m-d
it-IT: DATE_FORMAT_CUSTOM => d/m/Y

You will find all syntax variables at: http://php.net/manual/en/function.date.php
Attachments (1)
  1. more than a month ago
  2. General
  3. # 1
Laurent Zotto Accepted Answer
Hello

I tried to put this parameter in "2016-06-06_21-15-23.png"
The output is still "2016-06-06_21-14-15.png"

As you see on top of the page it's OK (Amber highlight) but not the Birthday (Geburtstag)
  1. more than a month ago
  2. General
  3. # 2
admin Accepted Answer
Admin
Have you put language constant (DATE_FORMAT_CUSTOM) into "Date Format" parameter of field "Geburtstag"?
  1. more than a month ago
  2. General
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.