dotCMS / dotCMS/core

[DEFECT] Edit Content Beta date/time fields not using set locale

Open
#35,427 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OKR : Customer Support stale Team : Maintenance
Dominant language
Java
Stars
970
Forks
486
Avg merge
3d 33m
Merged PRs (30d)
170

Description

Problem Statement

When using the Edit Content Beta, date/time fields are not using the locale set within the Configuration, this can cause confusion if the field has "Show in List" is set, as the listed date in the Content Search screen can end up being a day before or after what is displayed in the edit screen.

Steps to Reproduce

https://github.com/user-attachments/assets/6d2da40f-775f-4d8e-afb9-adfcdca40729

Acceptance Criteria

Ensure that the Date/Time fields reflect based on the locale chosen in the configuration.

dotCMS Version

Current Evergreen 26.04.11-01

Severity

Medium - Some functionality impacted

Links

https://dotcms.freshdesk.com/a/tickets/36575

Contributor guide

Open the contributing guide

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.

Research direction

Start with the Edit Content Beta date/time fields and the locale configured for the site, then compare their output with the Content Search list display using the reproduction steps. Done means both views reflect the configured locale consistently without shifting the displayed date by a day.

Written by the indexing model from the issue text.

Assessment

Domain
content, internationalization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.