nextcloud / nextcloud/server

[Bug]: Inconsistency in date format in placeholder (in Availability)

Open
#45,045 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 28-feedback bug feature: language/translations (l10n/i18n) feature: settings
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

⚠️ This issue respects the following points: ⚠️
Bug description

I use uk_UA locale which supposed the date format dd.mm.yyyy. However, in separate parts of the webUI I see the date format dd/mm/yyyy.

Steps to reproduce
  1. Either select forcedly or give option to users to select the locale uk_UA (Ukraine)
  2. Observe, that the default date is in the format dd.mm.yyyy
  3. Go to the page Availaibility and observe that the date placeholder is shown in the format dd/mm/yyyy

image

  1. Test the tables app, which also shows the date placeholder shown in dd/mm/yyyy.
Expected behavior

The date format should inherit the selected locale.

Installation method

Community Web installer on a VPS or web space

Nextcloud Server version

28

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.2

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?
  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other
Configuration report

No response

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

The bug has appeared after upgrade from 27.1.9 to 28.0.5.

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 at the Availability page and compare its date placeholder with the locale-aware date shown elsewhere in the webUI; the issue also identifies the Tables app as another affected entry point. Reproduce with the uk_UA locale and verify that both placeholders inherit the selected locale's date format.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.