Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Dates in Blog Archive Widget


Go to End


1251 Views

Avatar
Garrett

Community Member, 245 Posts

26 September 2008 at 5:22am

Hi,

What's the story with all the months & dates displaying as December 1969? All the blog entries in the database have valid non-null dates. I am 100% certain of this.

I took a look at DBField.php and Date.php and can't figure this out. The links are correct (2008/04, 2008/05, etc.) but the text display ($Date.Format(F) $Date.Year) displays as December 1969 no matter what.... A very strange and frustrating problem.

Can anyone tell me how to fix this?

Thanks,
Garrett