Support

Home Forums Event Espresso Premium ics download link is always 1970

ics download link is always 1970

Posted: October 30, 2014 at 4:32 am


Gijsbert Vandeweerdt

October 30, 2014 at 4:32 am

Hello dears,

WP 4.0
Event Espresso – 3.1.36.6.P
No recent upgrades
http://www.sintjansberg.be/events/agenda-3/

All ics files you can download on my page refer to the same date, 1 jan 1970.
I did some research and checked and changed the date format in the WP settings, this is fine.

What could cause this error and how do I solve it?


Dean

October 30, 2014 at 5:42 am

Hi,

Please edit the event and check that there is a valid start and end date for both the event and the registration periods.

If there is, please advise the format entered.


Gijsbert Vandeweerdt

October 30, 2014 at 6:38 am

Hi Dean,

Thank you, I get the error for all the events, the dates are fine.
What do you mean with ‘please advise the format entered’?

Thanks


Lorenzo Orlando Caum

  • Support Staff

October 30, 2014 at 7:10 am

Hi,

Does this issue continue when only Event Espresso is running?


Lorenzo


Josh

  • Support Staff

October 30, 2014 at 7:37 am

Hi Gijsbert,

I think Dean is asking about the date format that’s set in WP Settings General. What happens is, PHP cannot always disambiguate the date if the date is in a particular format. Please see this section of the ical documentation for more information on how to fix this:

https://eventespresso.com/wiki/how-to-use-ical-ics-files-google-calendar/#troubleshooting


Gijsbert Vandeweerdt

October 30, 2014 at 9:11 pm

Ok, I got only EE running now and it works with the date format in 2014-10-31 but not in other formats 🙁
Good start though.


Gijsbert Vandeweerdt

October 31, 2014 at 8:29 am

Can I just hide the ics file link on all pages?
It doesn’t work with the date format we want it to work with.


Tony

  • Support Staff

October 31, 2014 at 8:49 am

You can remove the ics link using an option within Event Espresso -> Template Settings.

On that page you’ll find ‘Display an “Add to my Calendar” icon/link in the event templates?’, set that to No and update the settings.

The iCal link should then be removed.


Gijsbert Vandeweerdt

October 31, 2014 at 9:35 am

Ok, thank you Tony.

The support post ‘ics download link is always 1970’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso