mirror of
https://github.com/e107inc/e107.git
synced 2025-09-02 10:53:29 +02:00
strftime() added to php_compatibility_handler.php and all references updated. README updated. dateAlternativeTest updated to pass on Windows. (TBD)
This commit is contained in:
@@ -1889,10 +1889,10 @@ class news_front
|
||||
|
||||
|
||||
// render new date header if pref selected ...
|
||||
$thispostday = e_date::strftime("%j", $news['news_datestamp']);
|
||||
$thispostday = strftime("%j", $news['news_datestamp']);
|
||||
if ($newpostday != $thispostday && (isset($this->pref['news_newdateheader']) && $this->pref['news_newdateheader']))
|
||||
{
|
||||
echo "<div class='".DATEHEADERCLASS."'>".e_date::strftime("%A %d %B %Y", $news['news_datestamp'])."</div>";
|
||||
echo "<div class='".DATEHEADERCLASS."'>".strftime("%A %d %B %Y", $news['news_datestamp'])."</div>";
|
||||
}
|
||||
$newpostday = $thispostday;
|
||||
$news['category_id'] = $news['news_category'];
|
||||
|
Reference in New Issue
Block a user