Translating Month Names in Blog Date Archive Block

Yep.. I'm at wits end.
Over the past several days, I have read the various threads on this topic, and still can't figure out how to get my month names to show up in Hebrew on my website.

Page in question is here:
It has the Blog Date Archives at the lower left.
Months are displayed in English. Bahh

If someone can provide me with a complete how-to on this, I will forever be grateful to you! <3


View Replies: View Best Answer
PatrickHeck replied on at Permalink Best Answer Reply 1 Attachment
Hi anchoredbutterfly,

the output of localized month names is not implemented yet for the "date_archive" block. To change this just create a directory /blocks/date_archive/ . Then save the attached file there and everything should work smoothly.


EDIT: Opened pull request for this:
anchoredbutterfly replied on at Permalink Reply
Thank you so very much!
Works like a charm :)
anchoredbutterfly replied on at Permalink Reply
Any idea how to change the date format in the guestbook/comments section?

Code line in view.php is
<?php echo date($dateFormat,strtotime($p['entryDate']));?>
ronyDdeveloper replied on at Permalink Reply
Its very easy, just remove the php variable set for date format and put your own format.
<?php echo date("d-m-Y h:i:s",strtotime($p['entryDate']));?>

N.B replaced the $dateFormat variable with your own format. For different types of date formatting, you can follow the below link:

PatrickHeck replied on at Permalink Reply
Also, if you want to use the hebrew month names here as well you can call the datehelper:

Put this on top of view.php
$dh = Loader::helper("Date");

And then change your line like this:
<?php echo $dh->date("d-m-Y h:i:s",strtotime($p['entryDate']));?>