Timezone/dateformat not correct

More
10 months 18 hours ago #51248 by richard.arkes
Hello,
Icant find the right setting for the dateformat see the attachement for template "Gym"
In Joomla global settings i have chaged to europa"Amsterdam" but no effect Where should i change this or is it in the code? 

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
10 months 4 hours ago #51251 by milos
Hello,

Please renew your membership to get support.

Regards,
Milos

Please Log in to join the conversation.

More
9 months 4 weeks ago - 9 months 4 weeks ago #51258 by richard.arkes
Hello Milos, i have renewed the membership,
I like when i can change the date in the future( as an event) and in the right format
Last edit: 9 months 4 weeks ago by richard.arkes. Reason: append

Please Log in to join the conversation.

  • milos
    Support Staff
  • Moderator
  • Moderator
More
9 months 4 weeks ago #51259 by milos
Hello,

The date/time format can be changed if you edit the file /templates/gym/html/mod_articles_news/_item.php. Around line 28, you will see this:
Code:
<i class="far fa-clock"></i> <?php echo Text::sprintf(HTMLHelper::_('date',$item->created, Text::_('F d, Y'))); ?>

To change the date/time format, you have to change 'F d, Y'. In our example, F represents the month, d represents the date and Y represents the year. To see what else characters are available in PHP to show date and time, visit this: www.php.net/manual/en/datetime.format.php

Regards,
Milos

Please Log in to join the conversation.

Time to create page: 0.157 seconds
Powered by Kunena Forum