Forums/Mini site - event site for your client/Mini Sites suggestions

PlannedDoneNot planned

Translation of the date for the "When & Where" section

Romain
suggested this on Jan 03 03:13 am

it would be nice if we could translate the dates for the "when" section.
Because integration is not complete in this view.
Although the day is translated, but the date format is in English.

Just need to add the field "January - february etc" on the section "Language" > "When & Where" for each month and the date format.
Thank you!


Maybe something like that:

<?php 

$day = array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"); 

$month = array("","Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"); 

$datefr = $day[date("w")]." ".date("d")." ".$month[date("n")]." ".date("Y"); 

echo . $datefr; 

?> 

 

No?

 

Comments

User photo
Romain

If you need something like that:

<?php 

$day = array("Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"); 

$month = array("","Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"); 

$datefr = $day[date("w")]." ".date("d")." ".$month[date("n")]." ".date("Y"); 

echo . $datefr; 

?> 

 

No?

January 03, 2012 11:14 am
User photo
michael sablone
intothedarkroom

we about to release this in multiple languages, and we will have a more robust date/time system.

January 18, 2012 09:34 pm
User photo
Romain

Do you have an idea of the date to launch please? :)

January 19, 2012 03:46 am