Hi there,
Lots of threads in the forum are about this, but I still can't make it work like I want...
I want to have the Dutch full date format (5 januari 2011) in my Calendar. In the localconfig.php only numerical formats are allowed. So I changed the event_full.tpl like this:
Code:
<?php echo date("j F Y", $this->startDate); ?><?php if ($this->endDate): ?> - <?php echo date("j F Y", $this->endDate); ?><?php endif; ?>
Works fine, but I get the date in English (5 January 2011). Then I tried:
Code:
<?php setlocale(LC_TIME, 'nl_NL'); echo strftime("%d %B %Y", $this->startDate); ?><?php if ($this->endDate): ?> - <?php setlocale(LC_TIME, 'nl_NL'); echo strftime("%d %B %Y", $this->endDate); ?><?php endif; ?>
Still in English only!
Yes, my system settings are Dutch and also the resulting HTML-files start with:
Code:
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="nl" lang="nl">
What could be the problem?
Bookmarks