Hi.
At the moment my shop (which is danish) only has english dates.
I've translated all the names of the months but the date still shows the english month names.
Any suggestions?
Hey bruce.
One place is at the http://www.dinlydbog.dk/index.php?contr ... nt_history
I've attached a screenshot.
One place is at the http://www.dinlydbog.dk/index.php?contr ... nt_history
I've attached a screenshot.
Hi Lasse,
You have found an internationalisation bug. The value displayed is specifically formatted that way in catalog\controller\account_history.php as follows
To honour the locale, the date value returned by strtotime must be formatted using the php function strftime.
cheers
Bruce
You have found an internationalisation bug. The value displayed is specifically formatted that way in catalog\controller\account_history.php as follows
Code: Select all
'date_added' => date('d F Y', strtotime($result['date_added'])),
cheers
Bruce
Who is online
Users browsing this forum: No registered users and 3 guests