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
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 |
please see the plugin docs page.
Hi
I've already looked at the documentation page but it didn't help. Did I miss something ?
I've already looked at the documentation page but it didn't help. Did I miss something ?
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
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
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