Localized values for UtcProperties

Help
sebl29
2012-04-26
2013-06-05
  • sebl29

    sebl29 - 2012-04-26

    Hello *,

    Sub-classes of UtcProperty (like CREATED, DTSTAMP, …) are not allowed to have localized DATE-TIME properties. If they have such lines the CalendarBuilder fails with "net.fortuna.ical4j.data.ParserException: Error at line XX:Cannot set timezone for UTC properties".

    However, some popular calendar clients (1) generate such non-conform iCalendars. And it would be wonderful if the CalendarParser could be made more relaxed to just read them (e.g. convert the according values to UTC).
    Or is there some other good workaround? (I did not find any solution in this forum or with gewgle).

    (1) Users reported them, I didn't verify them: Mac iCal, Google Calendar.

     
  • Ben Fortuna

    Ben Fortuna - 2012-07-09

    Hi,

    Apologies for the delay in following up. I have added a card to the ical4j trello board to investigate supporting non-UTC values via Compatibility Hints:

    https://trello.com/c/zrW7PZ02

    If you could verify CUAs that have this issue (e.g. Outlook, Gooogle Calendar, etc.) that would really be appreciated.

    regards,
    ben

     
  • Grégory Joseph

    Grégory Joseph - 2012-09-18

    Ben,

    Would there currently be a way to work around this issue ?

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks