Closed (fixed)
Project:
Grid Inspired
Version:
5.x-5.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Jun 2008 at 00:07 UTC
Updated:
9 Jul 2008 at 01:34 UTC
I have this theme installed and all of the dates are stuck at January 1st, 1970. The correct date is reflected when I switch themes, but not when I switch back to the Grid Inspired theme.
I imagine that something needs to be changed in the template.php file.
Anyone know where to start?
Comments
Comment #1
Memeshift commentedI fixed it my self (thanks to Stephen from spaceshare.com). i followed his advice:
"...my recommendation for a beginning-programmer: look at the templates for comments in your theme, and then compare to one of the basic themes like bluemarine (different themes use different theme-engines, try to find one with the same underlying theme-engine as yours if possible). Hopefully you'll find a similar line for the time in both templates with a slight difference/error in yours; or compare how dates are handled for comments and nodes in your own theme ... I don't know if it will be template.php, or a more specific file like comment.tpl.php, there are still a lot of places where it might be."
In Grid Inspired, there was a specific file called comment.tpl.php. I found where it said:
and changed it to:
It did the trick. To format the date, I went into www.mytestsite.org/admin/settings/date-time and adjusted the Short, Medium and Long date formats.
Now was this a bug in the theme? If so, how should i go about committing it?
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.