[Bug]: Inconsistency in date format in placeholder (in Availability)
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
⚠️ This issue respects the following points: ⚠️
- This is a bug, not a question or a configuration/webserver/proxy issue.
- This issue is not already reported on Github OR Nextcloud Community Forum (I've searched it).
- Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
- I agree to follow Nextcloud's Code of Conduct.
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
- Either select forcedly or give option to users to select the locale uk_UA (Ukraine)
- Observe, that the default date is in the format dd.mm.yyyy
- Go to the page Availaibility and observe that the date placeholder is shown in the format dd/mm/yyyy
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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