*

apibio

  • **
  • 68 posts
Modify date and time model
« on: January 11, 2018, 04:24:18 PM »
How to change the date format ...... to start with hour, minute .....

Thanks

*

MB Themes

Re: Modify date and time model
« Reply #1 on: January 12, 2018, 02:39:54 PM »
@apibio
In file:
oc-content/plugins/user_rating/user/rating.php

Replace:
Code: [Select]
<?php echo $r['d_datetime']; ?>
With i.e.:
Code: [Select]
<?php echo date('j. M'strtotime($r['d_datetime'])); ?>
Find more data formats on PHP documentation.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots