Use strftime() instead of date()

This commit is contained in:
Savetheinternet 2011-11-24 23:27:06 +11:00
parent 534a59c181
commit 40bc602096
3 changed files with 3 additions and 3 deletions

View File

@ -53,7 +53,7 @@
'<span class="unimportant"> &mdash; by ' .
$news['name'] .
' at ' .
date($config['post_date'], $news['time']) .
strftime($config['post_date'], $news['time']) .
'</span></h2><p>' . $news['body'] . '</p>';
}
}

View File

@ -87,7 +87,7 @@
'<span class="unimportant"> &mdash; by ' .
$news['name'] .
' at ' .
date($config['post_date'], $news['time']) .
strftime($config['post_date'], $news['time']) .
'</span></h2><p>' . $news['body'] . '</p></div>';
}
}

View File

@ -78,7 +78,7 @@
'<span class="unimportant"> &mdash; by ' .
$news['name'] .
' at ' .
date($config['post_date'], $news['time']) .
strftime($config['post_date'], $news['time']) .
'</span></h2><p>' . $news['body'] . '</p></div>';
}
}