Node date is always shown as 01/01/70, as easily demonstrated by your own demonstration site. :-)

The fix is easy, though. Admire Grunge is trying to show a comment timestamp as a node creation time, which obviosly does not work, at least if the current node doesn't have any comments. To fix just apply this patch to template.php:

---

--- a/template.php
+++ b/template.php
@@ -98,8 +98,8 @@ function admire_grunge_node_submitted($node) {
        return t('<span class="larger">@day</span> <br/> @datetime',
        array(
        // '!username' => theme('username', $node),
-      '@day' => format_date($comment->timestamp,'custom','D'),
-      '@datetime' => format_date($comment->timestamp,'custom','m/d/y'),
+      '@day' => format_date($node->created,'custom','D'),
+      '@datetime' => format_date($node->created,'custom','m/d/y'),
        ));
 }
---

Comments

sakib000’s picture

oop! cant believe I made such a silly mistake. Fixing it next version. Thanks thejaba

sakib000’s picture

Status: Active » Closed (fixed)
thejaba’s picture

Thank you for your fast response time! :-)

Cheers,

Jaba