amr ical events lists
[Plugin: AmR iCal Events List] Date / Time problem (11 posts)

  1. lespaul
    Posted 5 years ago #

    Hi there!
    I am trying to get this eminent plugin to work but without any luck. I get this message:

    Unable to create DateTime object.
    DateTime::__construct() expects parameter 2 to be DateTimeZone, boolean given

    I got my .ics-file outputed from Zimbra and if I check the .ics.file this is what it delivers:

    SUMMARY:Kal 1 whats the story morning glory?
    ORGANIZER;CN=Les Paul:mailto:les.paul@etm.nu
    DTSTART;TZID="(GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vie
    DTEND;TZID="(GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienn

    I don´t know where to start my search to find the problem. Could someone help me out here?

  2. lespaul
    Posted 5 years ago #

    Hi again, I got it to work using a google calendar. Is it possible to get it running with zimbra also? because thats what we use in our company.

    And one other thing, is it possible to show the ORGANIZER;CN= name in a column. I have set it to show in colume 4 but nothing shos up. Is´nt this possible?

    Hoping for a reply

  3. anmari
    Plugin Author

    Posted 5 years ago #

    Hi there. The problem is the tzid. Somehow it has to get translated to a php / WordPress timezone. Does zimbra have an option to specify just one city in the timezone? If you could try some different ones and show me what it puts in the tzid field I could try to figure out a mapping . Eg in this case I could grab the gmt+. But I prefer using more accurate timezones . Gmt offsets are incorrect when there is daylight saving. I am putting a Major update up soon so if you can get back to me asap I can try to include functionality to cope with zimbras timezones

  4. anmari
    Plugin Author

    Posted 5 years ago #

    Hi forgot to add yes have added pretty formatting of organisers although have yet to encounter all the ways they can appear see next upgrade

  5. lespaul
    Posted 5 years ago #

    Thank you for your response!

    I actually got a look at it now and I can't set up Zimbra diffrently from what I done already. So we have to live with all the citiez.

    Could you help me anyway?

  6. anmari
    Plugin Author

    Posted 5 years ago #

    Hi lespaul,

    I have looked into it and can see why zimbra does this (also windows) Maybe one day, they will get with the rest of the world ;-)

    In the meantime I have worked out the logic to deal with those files correctly (imho). The code will be in the next update in a day or so.

    See my notes here:

  7. lespaul
    Posted 5 years ago #

    Wonderful! I here by dedicate this day to be your day!
    Can't wait for the update.

  8. lespaul
    Posted 5 years ago #

    sorry for delayed answer on this on. I have been on vaccation for a while and have not tested this until now. And I still cant get it working with the Zimbra file. Can I e-mail you a live example of the ICS file for you to try it out?

    This is the message I get now:
    Error finding or parsing ical calendar

  9. anmari
    Plugin Author

    Posted 5 years ago #

    Hi lespaul, absolutely - love to see what is foxing it!
    email ics to anmari@anmari.com

  10. anmari
    Plugin Author

    Posted 5 years ago #

    Hi lespaul,

    Your file had some timezones like this:


    The plugin had allowed for Zimbra TZ's like this:
    # (GMT-01.00) Azores
    # (GMT-01.00) Cape Verde Is.
    # (GMT) Casablanca / Monrovia / Reykjavik
    # (GMT) Greenwich Mean Time - Dublin / Edinburgh / Lisbon / London
    # (GMT+01.00) Amsterdam / Berlin / Bern / Rome / Stockholm / Vienna
    # (GMT+01.00) Belgrade / Bratislava / Budapest / Ljubljana / Prague
    # (GMT+01.00) Brussels / Copenhagen / Madrid / Paris

    So next version will be a bit cleverer, it will cope with those we found in your file, and now instead of throwing an error if it cannot make sense of the timezone info, it will use the sites wordpress tz, or server tz.

    Check the plugin updates later.

  11. lespaul
    Posted 5 years ago #

    Thanks again!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • amr ical events lists
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic