directus / directus/directus

Time formatting is broken in hu-HU locale

Open
#25,070 1 comment 0 reactions 0 assignees View on GitHub
Bug Studio UX / DX
Dominant language
TypeScript
Stars
37.9k
Forks
4.9k
Avg merge
3d 21h
Merged PRs (30d)
36

Description

### Describe the Bug

Hey,

It looks like you accidentally translated the date-fns format strings for the hu-HU locale so it looks weird, like so:

![Image](https://github.com/user-attachments/assets/03965587-8012-47ec-8314-009c29a42f1a)

Hungarian uses standard 24-hour formatting so it should just be HH:mm as elsewhere.

### To Reproduce

1. Add any long-format date time field.
2. Switch locale to Hungarian
3. Observe the formatting of any selected time.

### Directus Version

v11.5.1

### Hosting Strategy

Self-Hosted (Docker Image)

### Database

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.