How to change date format? - Joomla! Forum - community, help and support


i use en-gb language files , date format wrong us. can change this?

are referring date format appearing thursday, 06 december 2012 , want appear thursday, december 6, 2012 ???

if so, log in sites backend , go extensions > language manager , click on overrides tab. click on new button in upper right. on right hand side have option search. tick constant option , search for:

code: select all

date_format_lc

you should see following results:

code: select all

date_format_lc
l, d f y
date_format_lc1
l, d f y
date_format_lc2
l, d f y h:i
date_format_lc3
d f y
date_format_lc4
y-m-d

clicking on first result "date_format_lc" in list give option on left hand side see:

code: select all

l, d f y

change value l, f j y , click save in upper right.

now repeat process for:

date_format_lc1
date_format_lc2

note date_format_lc2 (the 1 changes how dates displayed in articles such "published on" have the following:

code: select all

l, d f y h:i

make sure leave h:i @ end of line if display time article published.

for date_format_lc3 change from:

code: select all

d f y

to become:

code: select all

f d y


for date_format_lc4 change from:

code: select all

y-m-d

to:

code: select all

m-d-y


note can change above settings both frontend , backend @ same time each have different language files. accomplish this, when go make new override before click new button make sure have selected english - administrator in dropdown menu then click new button in upper right. have option on left called "for both locations".

more info on standard php date formats can found here:

http://php.net/manual/en/function.date.php

mark





Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support