Closed (fixed)
Project:
Smart Date
Version:
3.4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
16 Aug 2021 at 23:51 UTC
Updated:
31 Aug 2021 at 13:59 UTC
Jump to comment: Most recent, Most recent file


Comments
Comment #2
rellis commentedHere's the patch... Let us know if you want a merge request.
Comment #3
karingPS - confirming that regular Drupal Date fields are rendering at the correct time in FullCalendar View module 5.1.1 and that makes sense as there is no fullcalendar view preprocess function for it.
Comment #5
mandclu commentedI appreciate you raising this issue. In my previous testing, I had identified that the issue is only present when using a custom time format string, which based on my testing today is still the case. Also, in your issue description you cite a 4h shift, but this will only be true for sites with a timezone of EDT, otherwise the shift will be equivalent to the site's offset from UTC. For example, I heard from a user who was complaining that am/pm were reverse in their calendar, and they were in New Zealand, so their offset was 12h. Removing the custom string solved their issue.
During testing I also identified some lingering issues related to timezones explicitly set for an events, but I'll capture those in a separate issue.
I've merged in your change, though at this point I'll likely roll it into the next 3.4.0 release, which I hope to be a stable release.
Comment #6
karing@mandclu - awesome. Thank you! 3.4.x-dev is perfect 👍 People only need it when on the latest version of fullcalendar view module.
Ah yes - I forgot to mention we were using a Toronto site in this example so we did understand where the 4h came from. NZ reversing am/pm +/- 12h that's is funny :-)
Feel free to ping me on the other issue you are going to look at re: timezones - we're pretty well set up now to test/review. Though timezones will never be our favourite thing to work on 🙂