PDA

View Full Version : I change the LOCALE and not show the AM/PM


Jhonnyf
10-24-2008, 10:11 PM
I change the LOCALE in language for es_ES and now not show me the AM/PM simbols... I find the Documentation of PHP and say:

%p - either `am' or `pm' according to the given time value, or the corresponding strings for the current locale (http://www.php.net/manual/en/function.strftime.php)

I think that a should be modificate "the corresponding strings" but I don't know that it's that in vbulletin..

Thank You

Marco van Herwaarden
10-28-2008, 12:31 PM
If the locale is installed on your server it will show correct. If the locale is not installed on your server, then PHP has no knowledge of the correct translations for "AM/PM"

Jhonnyf
10-28-2008, 02:59 PM
thank you for response..

The Locale that I configurate, work fine, only that litle problem with the "AM/PM" and how i read that (the corresponding strings) I think that maybe vBulletin have some varieble for that problem

thank you very much