keystatic icon indicating copy to clipboard operation
keystatic copied to clipboard

Update `datetime` field to correctly store in UTC

Open mackeyguenther opened this issue 11 months ago • 1 comments

fixes #1400

  1. update datetime field (UI component & validation) to serialize/deserialize the value in UTC time, and render the value in the user's local timezone
  2. update datetime documentation to make it clear that datetime stores its value in UTC time, and displays it in the user's local timezone in the editing interface

mackeyguenther avatar Feb 09 '25 02:02 mackeyguenther

⚠️ No Changeset found

Latest commit: 5b3a070a0a2c23c33f089510f41c352b4b508f02

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Feb 09 '25 02:02 changeset-bot[bot]