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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


1320 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