Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events created during daylight savings changeover hour cause iCal serialization to fail #533

Open
reidab opened this issue Nov 9, 2017 · 1 comment

Comments

@reidab
Copy link
Member

reidab commented Nov 9, 2017

When trying to set the created time on the iCal event, things go south with FATAL -- : TZInfo::AmbiguousTime

From the TZInfo docs:

AmbiguousTime is raised to indicates that a specified time in a local timezone has more than one possible equivalent UTC time. This happens when transitioning from daylight savings time to standard time where the clocks are rolled back.

This was the cause of #532 and is still an issue

@dhedlund
Copy link
Contributor

The following commit in the ActivateHub project might provide a decent workaround. When I patched that project, I wasn't able to find a better solution without having to monkey-patch the ri_cal gem, which has been unmaintained for a very long time:

activate/ActivateHub@f183474#diff-bfad13752942f6ec74d1f0a84ead0320

@aeschright aeschright added this to Needs triage in Calagator maintenance Sep 28, 2018
@aeschright aeschright added the bug label Oct 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Calagator maintenance
  
Needs triage
Development

No branches or pull requests

3 participants