Need a real timezone for date-field

Open
#247 6 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@carlosjdelgado is already working on this.

Since Jun 25, 2026.

  • #410 by @carlosjdelgado — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
22/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

The report is about the date field's XXX format token rendering Z instead of the local offset, and the payload links the date-fns v4.1.0 format docs and the date-field configuration docs. Read the linked pull request #410 first, since it may already address this and the issue has not been answered in 107 days. If that work is still needed, reproduce with the format: yyyy-MM-dd'T'HH:mm:ssXXX config and confirm the output carries the local offset such as +02:00.

Written by the indexing model from the issue text.

Description

enhancement

Hi,

Problem

When I tried to have a real UTC for a date, it's always UTC 0.

- name: date
  label: Date
  type: date
  options:
    format: yyyy-MM-dd'T'HH:mm:ssXXX

XXX should give me +02:00 because I am in France, like 2025-05-12T14:30:00+02:00.

But the rendering is 2025-05-12T14:30:00Z

Documentations

Dominant language
TypeScript
Stars
4.1k
Forks
564
Avg merge
8m
Merged PRs (30d)
5

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from hunvreus/pagescms

All issues in hunvreus/pagescms

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.