Google Calendar integration is one day early #2242
Labels
bug
the issue is regarding one of our programs which faces problems when a certain task is executed
help wanted
requires help by anyone willing to contribute
Please describe the problem (or idea)
I posted this note with assoc. power tag for the date:
https://publiclab.org/notes/warren/02-05-2018/local-environmental-action-2018-in-boston
The RSS feed generated:
https://publiclab.org/feed/tag/event:*.rss
From this code:
https://github.com/publiclab/plots2/blob/master/app/views/tag/rss.rss.builder
...is read by IFTTT.com and put on our Google calendar:
https://publiclab.org/events
But it seems to place it one day early. I'm wondering if this is a time zone error?
Indeed! I see it's listed as GMT time (+0):
<pubDate>Sat, 17 Feb 2018 00:00:00 +0000</pubDate>
I think if we can fix that on this line -- perhaps by substituting +4 -- it'd start working:
plots2/app/views/tag/rss.rss.builder
Line 18 in 2e26a80
The text was updated successfully, but these errors were encountered: