Keyword

Where to edit srfrFeedItemDate language string?

  • Anne Mattila
  • Anne Mattila's Avatar Topic Author
  • Offline
  • New Member
More
9 years 5 months ago #56754 by Anne Mattila
Hi,

I see that the feed item date in the RSS Simple Reader module is in English. How do I change it into Finnish? I cannot find those strings in the module language file. Where do those Nov, oct etc language strings come from?

talosivu.org/mattila/


- Anne

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #56756 by Lefteris
Hi. There is an option named " Date & time format" in the module edit page. You can see the acceptable values at php.net/manual/en/function.strftime.php . If you want a common format for both languages then you can use this option. If not set this to :
%Y-%m-%d %H:%M:%S
and then create a template override for the module and use the Joomla! language variable:
<?php echo JHtml::_('date', $feed->itemDate, JText::_('DATE_FORMAT_LC1')); ?>
Let me know if you need more help.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum