24 hour time format
Posted
#523
(In Topic #155)
First, I managed to do it. But it has not been done very easy, I couldn't find it in any settings.
Just referring to PHP manuals is not very friendly, at least to a noobie.
The answer is hidden In one old ocPortal forum discussions string;
you have to change in file lang/EN/global.ini every:
%i:%M:%P (p)
to %H:%M
And
time_hour=g a
time_hour_and_mins=g:i a
timezone_time=g:i a, lto
time_hour=G
time_hour_and_mins=G:i
timezone_time=G:i, lI made it by copying first the global.ini to lang_custom/global.ini to be on the safe side if I mess things.
I'm not sure if I did it quite right, but now I see 24 hour format in postings etc.
Posted
Posted
For anyone reading now, this has changed a bit. I don't think time_hour even exists now. But there are some more strings in the 'calendar' language file if the calendar is used.
It'll all be documented in the Composr Tutorial: Localisation and internationalisation tutorial.
1 guest and 0 members have recently viewed this.