Menu

#44 Date format in german translation

open
nobody
None
5
2008-01-22
2008-01-22
Scouti
No

Hello I´m new here. I´m using ExtCal2 on the website of my church community. Please appologize my bad English, in my job I don´t need writing or speaking English.

After installation ExtCal2 I saw that the date while using the german translation is in a wrong format. I´ve learned the long date format e. g. Dienstag, 01. Januar 20xx (%A, %d. %B %Y) and dd.mm.yyyy e. g. 05.06.2008. So I edited languages/german/index.php as follows:

// Datum formats, For reference, go to : http://www.php.net/manual/en/function.strftime.php
$lang_date_format = array (
'full_date' => '%A, %d. %B %Y' // e.g. Mittwoch, 05. Juni 2002
,'full_date_time_24hour' => '%A, %d. %B. %Y um %H:%M' // e.g. Mittwoch, 05. Juni 2002 um 21:05
,'full_date_time_12hour' => '%A, %B %d, %Y um %I:%M %p' // e.g. Mittwoch, Juni 05, 2002 um 9:05 pm
,'day_month_year' => '%d. %b. %Y' // e.g 10. Sep. 2004
,'local_date' => '%c' // Preferred date and time representation for current language

...

Discussion


Log in to post a comment.