Skip to content

Entering a due date manually interprets it independantly from the user's locale  #5075

@provelo-ict

Description

@provelo-ict

Describe the bug
When one enters a due date manually, the date gets interpreted as an American date (mm/dd/yyyy) instead of the format from the locale (e.g. dd/mm/yyyy).

To Reproduce
Steps to reproduce the behavior:

  1. Open a card
  2. In the date field, instead of selecting the date with mouse clicks, enter the date by keyboard (e.g. 01/09/2023)
  3. Press Enter
  4. The date is now 09 january 2023

Expected behavior

The date should be interpreted in accordance with the user's locale. In our exemple, it should be 1st septembre 2023

Client details:

  • OS: Windows
  • Browser: Firefox and Chrome
  • Version 117 and 116
  • Device: Desktop
Server details

Operating system: Ubuntu 22.04

Web server: Apache2

Database: Mysql

PHP version: 8.1.2

Nextcloud version: 26.0.5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions