Closed (fixed)
Project:
ColorPaper
Version:
6.x-2.0-beta2
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2008 at 17:02 UTC
Updated:
12 Jan 2009 at 00:10 UTC
I discovered that this theme is displaying incorrect submit string. I see that you are building your own submit string
<div class="submitted"><?php print t('Posted by') . ' ' . $name . ' ' . t('on') . ' ' . format_date($created, 'custom', 'D, j F, Y - H:i'); ?></div>
but I can't image why do you need this? Drupal already providing to the node template complete string to display with the correct (specified in the administration panel) date formats. Otherwise people will see your hardcoded date format instead of their own. Also this leads to a bug, when some of these strings on a multy-language installations displayed in a wrong language, not sure what is the cause, but I saw it on my test machine. My proposal is to display $submit variable instead of building your own, default garland theme doing the same way I'm proposing
Comments
Comment #1
ktleow commentedThanks for reporting this.
I've changed the way
$submittedis displayed in several of my themes.Changes will be included in beta3.