Issue with calendar showing wrong day after updating to Sanity V3.21.0, solution is to upgrade to V3.21.2 or higher.

6 replies
Last updated: Jan 5, 2024
I have updated my project from sanity V2 to V3, but I noticed a problem with the calendar (schema
type: 'datetime'
) it's showing the wrong day for a date. Ex: today 26th Dec 23 Tuesday but showing Wednesday. Any Idea how we can solve this?
Dec 26, 2023, 8:43 AM
user T
could you plz help me!
Jan 3, 2024, 4:16 AM
Jan 3, 2024, 1:30 PM
user J
Is there any chance you’re on
v3.21.0
or
v3.21.1
? There was a regression fixed in
v3.21.2
that sounds a lot like this.
Jan 3, 2024, 4:41 PM
user A
yes my current version is
v3.21.0
. So I need to upgrade it to
v3.21.2
or higher right?
Jan 4, 2024, 7:42 AM
Correct.
v3.21.2
or
v3.22.x
would fix the regression and would retain the old UI.
Jan 4, 2024, 3:22 PM
Thanks
user A
🙂
Jan 5, 2024, 3:09 AM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?