Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Change time format
Hi all.
I want to change the timeformat on my forum. Now is it showing 8.20 PM and i want that it shows 20:20. How can I make it?
Tagged:
0
Answers
You need to set Date.* in your locale.
where
%B
replace with%G:%i
grep is your friend.
Something like this? it doesn't work
$Definition['Date.DefaultFormat'] = '%G:%i %e, %Y';
$Definition['Date.DefaultTimeFormat'] = '%l:%M%p';
$Definition['Date.DefaultDateTimeFormat'] = '%G:%i %e, %Y %l:%M%p';
Sorry there are two competing formats, I got confused.
change
and remove the other definitions.
grep is your friend.
nothing happens
Now its working thank you very much
no worries
grep is your friend.