How to translate date

Permalink Browser Info Environment
Hi,
How can I translate the date format in french ? I've changed my site.php and add the line: define (DATE_APP_GENERIC_MDYT_FULL', 'j F, Y \a\t g:i A');
but there's no change. My posts are still in US format.
Can you help ?

Thanks

Vanessa

Type: Pre-Sale
Status: In Progress
lethanh
View Replies:
RadiantWeb replied on at Permalink Reply
RadiantWeb
Hi there,

This is an auto responder to let you know that your support ticket has been forwarded to our entire support team at RadiantWeb!

Support tickets are reviewed Mondays thru Fridays 9am to 9pm & Saturdays 9am to 12pm EST.

A support team member will be following up with you as soon as possible.

Thank for supporting RadiantWeb Products!

RadiantWeb Support
http://goradiantweb.com
RadiantWeb replied on at Permalink Reply
RadiantWeb
please see the plugin docs page.
lethanh replied on at Permalink Reply
lethanh
Hi

I've already looked at the documentation page but it didn't help. Did I miss something ?
lethanh replied on at Permalink Reply
lethanh
Hi again,

Nevermind, I've found a solution there:
http://www.concrete5.org/documentation/how-tos/developers/internati...
I changed the line : "echo date(t(', j M Y'),strtotime($blogDate));" like this:
$dateHelper = Loader::helper('date');
echo $dateHelper->date(t(', j F Y'),strtotime($blogDate));

and it worked like a charm.

Thanks

Vanessa

concrete5 Environment Information

C5 5.6.3.3 / ProBlog 12.4.4 / php 5.5.11

Browser User-Agent String

Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Firefox/38.0

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.