Browse Source

Use strftime() instead of date()

pull/40/head
Savetheinternet 13 years ago
parent
commit
40bc602096
  1. 2
      templates/themes/basic/theme.php
  2. 2
      templates/themes/categories/theme.php
  3. 2
      templates/themes/frameset/theme.php

2
templates/themes/basic/theme.php

@ -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>';
}
}

2
templates/themes/categories/theme.php

@ -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>';
}
}

2
templates/themes/frameset/theme.php

@ -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>';
}
}

Loading…
Cancel
Save