Date format

monkeyman
monkeyman
  • monkeyman
  • 11 months ago
Probably I'm missing something, but looks like it's not possible to change date format in your extensions. This is due to lack of $format value in get_localized_date() function calls:

get_localized_date($item->created)


It always gives date in YYYY-MM-DD format, which mostly used in US and not very good for other countries. I thing it's much better to replace this code with:

get_localized_date($item->created, JText::_('DATE_FORMAT_LC'))


Maybe it's not global and you've just missed some places. For example, My Questions list template has this issue.

Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai