Keyword

Advanced Search

Search Results (Searched for: date-format)

  • Lefteris
  • Lefteris's Avatar
03 Dec 2015 11:13 - 03 Dec 2015 11:13
Replied by Lefteris on topic Time Zone

Time Zone

Category: Simple RSS Feed Reader

You just copy the folder modules/mod_jw_srfr/tmpl/default inside /templates/jm-commune-offices/html/mod_jw_srfr .

Then the code from your template is the one that will be executed. The date is printed around line 38 of file /templates/jm-commune-offices/html/mod_jw_srfr/default/default.php: github.com/joomlaworks/simple-rss-feed-reader/blob/master/tmpl/default/default.php#L38 .

Replace that line with
<span class="srfrFeedItemDate"><?php echo JHtml::_('date', $feed->itemDate, JText::_('DATE_FORMAT_LC3')); ?></span>

You also have to change the date format at the module settings as described in my answer at www.joomlaworks.net/forum/simple-rss-feed-reader/42549-date-format#146793 .
  • Lefteris
  • Lefteris's Avatar
02 Dec 2015 18:10
Replied by Lefteris on topic Time Zone

Time Zone

Category: Simple RSS Feed Reader

You have to create a module override first. Module overrides are the way to change the output in Joomla! . Details about module overrides can be found at docs.joomla.org/Understanding_Output_Overrides . Read the section named "Module Layout Overrides" . After you create the override follow the instructions at www.joomlaworks.net/forum/simple-rss-feed-reader/42549-date-format#146793 .

Let me know if you need more help.
  • Lefteris
  • Lefteris's Avatar
02 Dec 2015 11:44
Replied by Lefteris on topic Time Zone

Time Zone

Category: Simple RSS Feed Reader

Hi,

The date on the XML contains a timezone offset. That is probably different on your server. I suggest to create an override for the module layout and handle the date there using PHP. Have you tried this: www.joomlaworks.net/forum/simple-rss-feed-reader/42549-date-format#146793 ?
  • Lefteris
  • Lefteris's Avatar
25 Nov 2015 10:53
Replied by Lefteris on topic publication date

publication date

Category: Simple RSS Feed Reader

Hi,

This has already been answered at www.joomlaworks.net/forum/simple-rss-feed-reader/42549-date-format . Read the discussion there and let me know if you need more help.
  • Joe Campbell
  • Joe Campbell's Avatar
26 Apr 2015 23:38
Replied by Joe Campbell on topic [SOLVED] Extra Fields

[SOLVED] Extra Fields

Category: English K2 Community

Hi John,

I just posted a solution here:
www.joomlaworks.net/forum/k2-en/36900-edit-extra-field-date-format-in-specific-template#143550

I hope this helps,

Joe Campbell
  • mikexcite
  • mikexcite's Avatar
11 Feb 2013 20:01 - 11 Feb 2013 20:02

Change date format in date extrafield - MissionIMP

Category: English K2 Community

Weirdly, K2 defines the date format in the ini files in administrator language files. Finally finding and changing those worked for me. Change en-GB.com_k2.j16.ini and you could be good to go.

I'm no expert so I can't tell you more than that except I beat my head against my keyboard for an hour last night wondering why changing the normal language files didn't do anything. K2 shouldn't have the entires in the normal language files if they don't do anything.

Credit and thanks to this guy.

Note, you can make new date formats here just as easily, get more customization and not accidentally break things elsewhere. I have K2_DATE_FORMAT_MONTH and K2_DATE_FORMAT_YEAR for when I need those.

Mike
  • Peter Grube
  • Peter Grube's Avatar
17 Dec 2012 02:58
Replied by Peter Grube on topic K2's Item Grd shows dates in the format dd/mm/yyyy

K2's Item Grd shows dates in the format dd/mm/yyyy

Category: English K2 Community

How to change date is mentioned in this post
  • Dave
  • Dave's Avatar
09 Aug 2012 22:17 - 13 Aug 2012 20:12

[SOLVED] Struggling to Override Language of Module

Category: English K2 Community

Hi All

I've been searching this forum and Google for hours now, trying to find a solution but no joy.

I'm running Joomla version 2.5.6 and K2 version 2.5.7.

I have the K2 Content module on my site, showing two latest blogs. That works fine but I need to change the date format (K2_DATE_FORMAT_LC2) because I just want day, date and year. I simply cannot seem to override the language files though. I edit the files but nothing changes on the site. And I'm not even sure which language file to edit, because K2_DATE_FORMAT_LC2 appears in a few different language files, though I've tried changing all of them but to no avail.

I've also tried using the Language Override feature of Joomla. That does have an effect but just messes up the date format completely so it doesn't make sense. Is there a way to hard code the date format (e.g %d %B %Y") into my default.php template override to replace the K2_DATE_FORMAT_LC2 ??

Sorry if I'm being thick here but any help would be much appreciated!!

Thank you.

EDIT: Thanks to tweeting the K2Devs I found the answer and posted it here: getk2.org/community/New-to-K2-Ask-here-first/1703-How-do-you-change-date-format-on-earth#160184
Displaying 1 - 10 out of 10 results.

Powered by Kunena Forum