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.

All other Modules

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Event Calendar - Years reverting to 1969 ?


Go to End
Reply

11 Posts   1879 Views

Avatar
house98

9 January 2010 at 5:28am Community Member, 31 Posts

Things were working just fine...... last month, and from what I recall... even earlier this month... but for some reason after I choose a date and save it, the year no longer stays 2010, but 1969...

Any thoughts?

Avatar
UncleCheese

9 January 2010 at 5:47am (Last edited: 9 January 2010 5:47am), 4085 Posts

Could be a lot of things. Check your database and see how those dates are getting saved. 1969 is what comes back if a date is saved as null (assuming you're behind GMT... the other half of the world should get 1970.)

Avatar
house98

9 January 2010 at 6:55am Community Member, 31 Posts

Ok :)

Well it shows in the database, exactly what it says on screen... an example:

ID    ClassName    Created    LastEdited    Title    StartDate    StartTime    EndDate    EndTime    Content    is_all_day    is_announcement    is_single    EventID    CalendarID

12    CalendarDateTime    2010-01-08 12:53:31    2010-01-08 12:53:31    NULL    1969-12-31    09:00:00    1969-12-31    17:00:00    NULL    0    0    0    114    0

Does this help?

Avatar
UncleCheese

9 January 2010 at 7:26am 4085 Posts

I really have no idea. Make sure you're on the latest SVN build, and if you can, replicate the issue on the demo site:

http://eventcalendar.bluehousegroup.com

Avatar
house98

9 January 2010 at 8:33am Community Member, 31 Posts

Where exactly is your svn build?

I see 'events' and 'calendar' but not event_calendar ... http://svn.silverstripe.com/open/modules/ ?

Avatar
UncleCheese

9 January 2010 at 8:59am 4085 Posts

svn co http://bluehousegroup.svn.beanstalkapp.com/modules/event_calendar

Avatar
house98

10 January 2010 at 2:55am Community Member, 31 Posts

Good morning.

Ok, grabbed the svn... same thing. Though I can't duplicate it on your demo site. I tried firefox/safari just to see if there was some weird javascript caching going on... but no...

Is there a way to get any debug info for what's posting (or should be posting) ?

Thanks.

Avatar
house98

10 January 2010 at 3:49am Community Member, 31 Posts

Did a little more testing... interesting stuff -- still don't know how to make sense of it...

I started adding events from Jan 1, 2010 and kept going... You'll see that for no reason ( that I can tell) the posts were going fine, date-wise, until I hit January 13, 2010 ... then the dates started to 'not stick' -- of course all the dates I've been trying to add have been around the 17th of the month...

I'm going to go test another month (april) with the same process, and will report back..

Go to Top