pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => KalenderMx => Thema gestartet von: familymartialarts am 07 Juni 2005, 04:39:37

Titel: How to change European date format to American date format?
Beitrag von: familymartialarts am 07 Juni 2005, 04:39:37
Hello! We have not discovered how to change the European date format in Kalendar 1.4 to American date format. When we list the events (calendar list) the dates are set up like this:

05.06.02
05.06.04
05.06.06

Which is understandable to a European, but to an American these dates look like events happening on May 6 ion three different years.

How do we switch the format in Kalendar 1.4 so that the dates read:

06.02.05
06.04.05

In other words, month-day-year


Thank you!

Ana Hotaling   ???
Family Martial Arts
Titel: Re: How to change European date format to American date format?
Beitrag von: jubilee am 14 Juni 2005, 20:56:53
Hello !
To change date display to american format (mm/dd/yyyy):
Open in modules/Kalender/language every used laguage file (when only use american language take the lang-english.php)
change this line :
Zitatdefine("_CALINTERNATIONALDATES",1);    //0 = mm/dd/yyyy, 1 = dd/mm/yyyy
to this :
Zitatdefine("_CALINTERNATIONALDATES",0);    //0 = mm/dd/yyyy, 1 = dd/mm/yyyy
greetings
jubilee
Titel: Re: How to change European date format to American date format?
Beitrag von: Qlueless am 25 Oktober 2005, 08:24:58
I have the same problem in English:

it shows the dates wrong 05/11/01  (2005 November 01 ) yyyy/mm/dd
when it should show 11/01/05 (November 01 2005) mm/dd/yyyy

We need to change the Month and Year


I have checked the setting that you say to try, but it did not work. I think it is something else.