WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Event dates appearing as January 1, 1970 (7 posts)

  1. Bloke
    Member
    Posted 1 year ago #

    Ever since I updated to WP 3.3.2 my events that are imported from Facebook show as January 1, 1970. And the time is 33 minutes off. Now before you say check with the developer of the pug in I have done this. He was also kind to install a test on his server with my Facebook events and it lists the same events and times correctly. This is very strange. I tested it on my local server and the times and dates were wrong also. So what could be causing it to display incorrect? Also I think the times showing as 33 minutes off seems to be a indicator too. This is the plugin I'm using http://wordpress.org/extend/plugins/facebook-events-widget/

  2. haxxxton
    Member
    Posted 1 year ago #

    jan 1st 1970 is generally considered to be the earliest date that you can set a date to on a computer..

    it is also generally the date that displays when there is a date handling error..

    my best guess would be that either you or the developer are using a different date format (ie dd/mm/yyyy vs mm/dd/yyyy).. try checking under your general settings and making sure they are set to the same as the developers :)

  3. Bloke
    Member
    Posted 1 year ago #

    Yes I am aware of that date. But the format of the time and date in WordPress settings didn't change that. All it does is display January 1970 in different ways. He hasn't changed the code either.

  4. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    Just deactivate or rename the Facebook plugin and see if the date still shows the same.

  5. haxxxton
    Member
    Posted 1 year ago #

    from what i can see of the code in the plugin there are plenty of date handling areas that could potentially cause issues depending upon how your server/installation is set up to handle dates.. that and could also be to do with the language/locale setting of the facebook event organiser/app owner..

    id be making sure ALL those settings are the same as the developer apparently needs them to be..

  6. Bloke
    Member
    Posted 1 year ago #

    This really has me puzzled. The plug in code never changed. The developer sent me the exact file he is using and the dates and times are correct on his end. The person posting the events on Facebook are in the same city as me. Just recently someone brought it to my attention the times were off.

  7. Bloke
    Member
    Posted 1 year ago #

    Got it fixed thanks to the developer of the plug in. Recently Facebook changed the start_time and end_time as a sting causing the issue. Read about it here.
    https://developers.facebook.com/bugs/415058451869226?browse=search_4ff978394ed3a2560050216

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.