Login





 


Language

Sprache auswählen:

Deutsch English

Date Localisation

PostCalendar uses the strftime() function to translate dates. All translation is handled by the template and the pc_date_format Smarty modifier (in smarty_plugins.php). PHP is performing your translation and I suppose Mit. is the short version (%a) for strftime() in your language.

You can try to modify the templates to use the $A_SHORT_DAY_NAMES array that is passed into your templates. It starts at 0 (sunday) and ends at 6 (saturday). The $S_SHORT_DAY_NAMES array is a SORTED array starting with whatever day you have as your start of week.

You can then use the [[-assign-] smarty function to pull the right day using something like

(you may have to figure out what $DATE variable to use)

 
date_localisation.txt · Last modified: 19.01.2006 11:23 by larsneo
 
Recent changes RSS feed Creative Commons License Powered by PHP Valid XHTML 1.0 Driven by DokuWiki