I'm running a couple of sites with Joomla 1,5,9 and just can't get the AM PM %p code to work. I'm using the following date format:
%A %d de %B de %Y %l:%M %p
And I get:
Miércoles 22 de Abril de 2009 12:00
without the AM/PM.
If I run the following code outside Joomla on the same server it works:
echo strftime('%l:%M:%S %p', time());
so I guess the server setting are correct. The locale in Joomla is set to es-ES.
The same thing happens in other Joomla components such as Eventlist.
Any ideas on how to show the AM/PM? Thanks!