Use strftime() instead of date()
This commit is contained in:
parent
534a59c181
commit
40bc602096
@ -53,7 +53,7 @@
|
||||
'<span class="unimportant"> — by ' .
|
||||
$news['name'] .
|
||||
' at ' .
|
||||
date($config['post_date'], $news['time']) .
|
||||
strftime($config['post_date'], $news['time']) .
|
||||
'</span></h2><p>' . $news['body'] . '</p>';
|
||||
}
|
||||
}
|
||||
|
@ -87,7 +87,7 @@
|
||||
'<span class="unimportant"> — by ' .
|
||||
$news['name'] .
|
||||
' at ' .
|
||||
date($config['post_date'], $news['time']) .
|
||||
strftime($config['post_date'], $news['time']) .
|
||||
'</span></h2><p>' . $news['body'] . '</p></div>';
|
||||
}
|
||||
}
|
||||
|
@ -78,7 +78,7 @@
|
||||
'<span class="unimportant"> — by ' .
|
||||
$news['name'] .
|
||||
' at ' .
|
||||
date($config['post_date'], $news['time']) .
|
||||
strftime($config['post_date'], $news['time']) .
|
||||
'</span></h2><p>' . $news['body'] . '</p></div>';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user