{"action":"created","issue":{"url":"https://api.github.com/repos/ical4j/ical4j/issues/27","repository_url":"https://api.github.com/repos/ical4j/ical4j","labels_url":"https://api.github.com/repos/ical4j/ical4j/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/ical4j/ical4j/issues/27/comments","events_url":"https://api.github.com/repos/ical4j/ical4j/issues/27/events","html_url":"https://github.com/ical4j/ical4j/issues/27","id":55728052,"number":27,"title":"Support for X-WR-TIMEZONE?","user":{"login":"davidgubler","id":3776564,"avatar_url":"https://avatars0.githubusercontent.com/u/3776564?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgubler","html_url":"https://github.com/davidgubler","followers_url":"https://api.github.com/users/davidgubler/followers","following_url":"https://api.github.com/users/davidgubler/following{/other_user}","gists_url":"https://api.github.com/users/davidgubler/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgubler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgubler/subscriptions","organizations_url":"https://api.github.com/users/davidgubler/orgs","repos_url":"https://api.github.com/users/davidgubler/repos","events_url":"https://api.github.com/users/davidgubler/events{/privacy}","received_events_url":"https://api.github.com/users/davidgubler/received_events","type":"User","site_admin":false},"labels":[{"id":54730084,"url":"https://api.github.com/repos/ical4j/ical4j/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":{"login":"benfortuna","id":984966,"avatar_url":"https://avatars2.githubusercontent.com/u/984966?v=3","gravatar_id":"","url":"https://api.github.com/users/benfortuna","html_url":"https://github.com/benfortuna","followers_url":"https://api.github.com/users/benfortuna/followers","following_url":"https://api.github.com/users/benfortuna/following{/other_user}","gists_url":"https://api.github.com/users/benfortuna/gists{/gist_id}","starred_url":"https://api.github.com/users/benfortuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfortuna/subscriptions","organizations_url":"https://api.github.com/users/benfortuna/orgs","repos_url":"https://api.github.com/users/benfortuna/repos","events_url":"https://api.github.com/users/benfortuna/events{/privacy}","received_events_url":"https://api.github.com/users/benfortuna/received_events","type":"User","site_admin":false},"assignees":[{"login":"benfortuna","id":984966,"avatar_url":"https://avatars2.githubusercontent.com/u/984966?v=3","gravatar_id":"","url":"https://api.github.com/users/benfortuna","html_url":"https://github.com/benfortuna","followers_url":"https://api.github.com/users/benfortuna/followers","following_url":"https://api.github.com/users/benfortuna/following{/other_user}","gists_url":"https://api.github.com/users/benfortuna/gists{/gist_id}","starred_url":"https://api.github.com/users/benfortuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benfortuna/subscriptions","organizations_url":"https://api.github.com/users/benfortuna/orgs","repos_url":"https://api.github.com/users/benfortuna/repos","events_url":"https://api.github.com/users/benfortuna/events{/privacy}","received_events_url":"https://api.github.com/users/benfortuna/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2015-01-28T08:37:22Z","updated_at":"2017-04-04T13:28:51Z","closed_at":null,"body":"Hi all,\n\nWe're using ical4j (currently 1.0.5.2) to read any sorts of feeds from all over the internet. A problem we found is with feeds that have dates in local time, but no proper VTIMEZONE definition. Those feeds typically use the X-WR-TIMEZONE header to specifiy which time zone must be used to interpret the local times.\n\nThere is an article explaining the situation here: http://blog.jonudell.net/2011/10/17/x-wr-timezone-considered-harmful/\n\nNow I do not entirely understand the code of ical4j, but as far as I can tell it does not care about the X-WR-TIMEZONE header at all, but falls back to the machine's local time zone (java.util.TimeZone.getDefault()) instead. This is consistent with what our experiments with real feed data showed us.\n\nNow since the library runs on a server and our users use all sorts of time zones in the feeds and to view the feed data, the fall-back to the server's time zone is just plain wrong in our case. I imagine that interpreting the X-WR-TIMEZONE header as an Olson DB name and trying to convert it to a java.util.TimeZone should not be too difficult to do. \n\nAm I right? If yes, is support for X-WR-TIMEZONE planned? If not, consider this to be a feature request :)\n\nThank you!\n"},"comment":{"url":"https://api.github.com/repos/ical4j/ical4j/issues/comments/291499526","html_url":"https://github.com/ical4j/ical4j/issues/27#issuecomment-291499526","issue_url":"https://api.github.com/repos/ical4j/ical4j/issues/27","id":291499526,"user":{"login":"magneticflux-","id":9124288,"avatar_url":"https://avatars2.githubusercontent.com/u/9124288?v=3","gravatar_id":"","url":"https://api.github.com/users/magneticflux-","html_url":"https://github.com/magneticflux-","followers_url":"https://api.github.com/users/magneticflux-/followers","following_url":"https://api.github.com/users/magneticflux-/following{/other_user}","gists_url":"https://api.github.com/users/magneticflux-/gists{/gist_id}","starred_url":"https://api.github.com/users/magneticflux-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magneticflux-/subscriptions","organizations_url":"https://api.github.com/users/magneticflux-/orgs","repos_url":"https://api.github.com/users/magneticflux-/repos","events_url":"https://api.github.com/users/magneticflux-/events{/privacy}","received_events_url":"https://api.github.com/users/magneticflux-/received_events","type":"User","site_admin":false},"created_at":"2017-04-04T13:28:51Z","updated_at":"2017-04-04T13:28:51Z","body":"@benfortuna Is this feature included in the ical4j-extensions project? I need it to parse a set of ical files that all use the same timezone. If there is no support, is there a workaround for this instead?"}}
{"actor":{"display_login":"magneticflux-"}}