- Issue created by @dianacastillo
- πΊπΈUnited States cmarcera
I had the same issue - didn't resolve it. 99% sure it's somehow timezone related, but couldn't figure a solution out.
Ended up reverting my server and Drupal config to UTC, then everything was "right".
https://www.drupal.org/forum/support/post-installation/2025-02-19/view-c... β
- πΊπΈUnited States dianacastillo Miami
if you use calendar view 2.1.7 its fixed there .
redwan jamous β made their first commit to this issueβs fork.
- Merge request !43Adjust the timezone of the values before using them β (Open) created by Unnamed author
We're facing the same issue.
After looking at the code, I noticed that we're not taking into consideration that all date/datetime values are stored in UTC.
I opened a MR that treats values as UTC values and adjusts them to the required timezone, and it fixed the issue for us.
Unfortunately, I don't have the time to fully test this due to the amount of cases we need to cover, but we can use the changes in the MR as a starting point.
Attaching a static patch file to use with composer...
- Status changed to Needs review
5 months ago 6:29pm 7 May 2025 - πΊπΈUnited States mariquita
#8 works for me. Thank you so much for the patch!
- First commit to issue fork.
- Merge request !45[#3509188] fix: date off set by one day if hour is late fixed in 2.1.7 issue is back β (Open) created by iamdroid
- π¬πͺGeorgia iamdroid
iamdroid β changed the visibility of the branch 3509188- to hidden.
- π¬πͺGeorgia iamdroid
Hi folks. Thanks for working on this.
I faced the issue and had a look at how it is handled in code.
@redwan jamous, with all the respect, I think the proposed solution is applied in the wrong place. I've noticed the timezone offset is calculated wrong. Basically, it always returns 0, and it is the root of the issue.
I've created a new MR !45, please review.