Sanity datetime schema type displaying incorrect day of week
You're absolutely right - June 15, 2024 was a Saturday, not a Sunday. That's definitely concerning if your datetime picker is showing the wrong day of the week.
What you're experiencing:
This sounds like it could be a bug with the calendar display in Sanity Studio's datetime input. The datetime schema type uses a date picker component that displays a calendar, and if the day-of-week labels are misaligned, it would show dates on the wrong days.
Important clarification:
If this is a display bug in the calendar picker itself, it's worth checking whether the actual date values being stored are correct. You can verify this by:
- Looking at the raw data in your dataset (via Vision or API queries)
- Checking if the ISO date string stored is
2024-06-15(which would be correct)
Often these UI bugs affect only the visual calendar labels, not the underlying data values.
Where to report this:
Since this appears to be a bug with Sanity Studio itself, here's where you should reach out:
GitHub Issues - This is the best place to report bugs. You can search existing issues first to see if anyone else has reported this, and if not, create a new issue with details about:
- Your Sanity Studio version (
sanity --version) - Browser and OS
- Screenshots showing the incorrect day labels
- Your Sanity Studio version (
Sanity Community Slack - Join the community Slack for faster responses from both Sanity team members and other community members who might have encountered this
Support channels - If you're on a paid plan, you can also reach out through your dedicated support channels
Quick troubleshooting:
Before reporting, try:
- Updating to the latest Studio version:
npm update sanity - Clearing your browser cache
- Testing in a different browser
This will help determine if it's already been fixed in a newer version or if it's a browser-specific issue. Either way, the Sanity team will want to know about this so they can investigate!
Show original thread4 replies
Sanity β Build the way you think, not the way your CMS thinks
Sanity is the developer-first content operating system that gives you complete control. Schema-as-code, GROQ queries, and real-time APIs mean no more workarounds or waiting for deployments. Free to start, scale as you grow.