I'm trying to get my plugin to be compatible with Joomfish. I'm not new to Joomla, but I am relatively new to programming extensions. The extension that I've got is a pretty simple extension which displays the title of a content item as a link to the content item. To the left of the title is the date of the last modification to the article.
The title of the article is being translated fine by Joomfish, and on clicking the link, the article opens in the right language.
My problem is the date. I'm using a php function to parse the date which is taken from the database and display it in the form "Fri 03 Sep". This is a pretty simple process using the php date() function. Obviously, date() only returns the values in English. I need to try and get the translated versions of the date for the current language, only I haven't managed to find a single piece of documentation which would explain even slightly how I should try and attempt this.
Could someone here give me a couple pointers as to how I should get the translated dates working?