On my system the comments to blog entries and other content all show a posting date of December 31,1969 when I set the theme to Golden Hour. I have installed a theme switcher on my site so it is pretty easy to check out other themes including Garland. None of these appear to have the problem so it could be a Golden Hour bug. Also, the database entries show the correct date.

Worth checking out. It's a great theme. Certainly one of the 3 or 4 best of the 5.0 bunch.

CommentFileSizeAuthor
#1 comment_tpl_php.txt498 bytesjwolf

Comments

jwolf’s picture

Assigned: Unassigned » jwolf
StatusFileSize
new498 bytes

Wow, I completely missed this.
I had the comments timestamp being pulled from $node instead of $comment.
Attached is the fixed comment.tpl.php file.
This will be added to the next release.

Line #6 of comment.tpl.php was changed from:

<div class="submitted"><?php print t('By ') . theme('username', $node) . t(' - Posted on ') . format_date($node->created, 'custom', "F jS, Y"); ?></div> 

to:

<div class="submitted"><?php print t('By ') . theme('username', $node) . t(' - Posted on ') . format_date($comment->timestamp, 'custom', "F jS, Y"); ?></div>

Thank you!

jwolf’s picture

Status: Active » Fixed

Fixed in release versions 5.x-2.1 & 4.7.x-2.1

j0k3z’s picture

Status: Fixed » Active

Hello, I still have issues.

The comment time is correct but each time you add a new comment it will change the date on all of the comments to the date of the most recent comment.

jwolf’s picture

Sorry, I am unable to duplicate this issue.
May I suggest that you grab the latest release and see if that does not solve your problem.

Also, on a separate issue, there is a mistake in the comment.tpl.php that causes the username of the posted comments to show up as Anonymous.

Line 6 of comment.tpl.php should be:

<div class="submitted"><?php print t('By ') . theme('username', $comment) . t(' - Posted on ') . format_date($comment->timestamp, 'custom', "F jS, Y"); ?></div>

Please refer to bug report #123471 located at http://drupal.org/node/123471

The newest development snapshot (date on or after Feb 28th) will have this fixed.

jwolf’s picture

Status: Active » Closed (fixed)