SimplePortal

Customization => Custom Coding => Topic started by: sama55 on April 12, 2010, 01:35:01 AM

Title: Dateformat of article and article-block
Post by: sama55 on April 12, 2010, 01:35:01 AM
DatetFormat of article is fixed, and SMF's datetime format is not applied.
This is not bug, but want to deal if possible.

SimplePortal version : 2.3.2

File: Sources/PortalArticles.php (L204)
Code: [Select]
'timeyear' => timeformat($row['poster_time'], '%d %b %y'),
File: Sources/PortalBlocks.php (L1391)
Code: [Select]
'timeyear' => timeformat($row['poster_time'], '%d %b %y'),
Title: Re: Dateformat of article and article-block
Post by: [SiNaN] on April 12, 2010, 07:40:20 AM
This isn't a bug exactly, but a preference. It you would like to make it obey the forum time format, just remove the second arugment for the timeformat() function, like:

Code: [Select]
'timeyear' => timeformat($row['poster_time']),
SimplePortal 2.3.8 © 2008-2024, SimplePortal