Osclass Support Forums
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
Modify date and time model
Osclass Support Forums
Osclass plugin support
User Rating Plugin
Modify date and time model
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Show unread posts since last visit
Show new replies to your posts
Print
Pages: [
1
]
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
Logged
MB Themes
Support team
16975 posts
Only quality matters
Download Osclass
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.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Print
Pages: [
1
]