Hello,
Yesterday I asked about using the publication date in the easyblog modules for latest blogs and archive.
I needed to replace this:
with:
This worked for the latest blog module with one problem: If I set the publication date to 8 May at 00:01 o'clock, the component says 8 May, but the latest blog module says 7 May, as if it's in a different time zone. When I set the time to 02:00 o'clock, also the module says 8 May. (01:30 still gives 7 May)
In de archive module I couldn't find the code as mentioned. How can I adjust the archive module in order to show the publication date?
Best,
Ineke
Yesterday I asked about using the publication date in the easyblog modules for latest blogs and archive.
I needed to replace this:
<?php echo $post->getCreationDate(true)->format($params->get('dateformat', JText::_('DATE_FORMAT_LC3'))); ?>
with:
<?php echo $post->getPublishDate()->format($params->get('dateformat', JText::_('DATE_FORMAT_LC3'))); ?>
This worked for the latest blog module with one problem: If I set the publication date to 8 May at 00:01 o'clock, the component says 8 May, but the latest blog module says 7 May, as if it's in a different time zone. When I set the time to 02:00 o'clock, also the module says 8 May. (01:30 still gives 7 May)
In de archive module I couldn't find the code as mentioned. How can I adjust the archive module in order to show the publication date?
Best,
Ineke