Date format inconsistency between datetime picker and text field #2340

Closed
opened 2024-05-20 07:49:34 +00:00 by bobiko · 1 comment

Description

When using the datetime picker in the Vikunka project, the date format displayed in the datetime picker does not match the date format displayed in the text field. The datetime picker displays the date in the format specified by the user's settings, while the text field displays the date in the default format.

This issue is particularly irritating when planning tasks, as it makes it difficult to compare and sort dates.

Steps to reproduce:

  • Open the Vikunka project.
  • Click on a date field to open the datetime picker.
  • Select a date.
  • Observe that the date format displayed in the datetime picker does not match the date format displayed in the text field.

Vikunja Version

0.23.0+619-b93e237899

Browser and version

Firefox 126

Can you reproduce the bug on the Vikunja demo site?

Yes

Screenshots

obrazobraz

### Description When using the datetime picker in the Vikunka project, the date format displayed in the datetime picker does not match the date format displayed in the text field. The datetime picker displays the date in the format specified by the user's settings, while the text field displays the date in the default format. This issue is particularly irritating when planning tasks, as it makes it difficult to compare and sort dates. **Steps to reproduce:** - Open the Vikunka project. - Click on a date field to open the datetime picker. - Select a date. - Observe that the date format displayed in the datetime picker does not match the date format displayed in the text field. ### Vikunja Version 0.23.0+619-b93e237899 ### Browser and version Firefox 126 ### Can you reproduce the bug on the Vikunja demo site? Yes ### Screenshots ![obraz](/attachments/6eadc511-fb49-44cc-bcde-6eca7162cfc0)![obraz](/attachments/4cccf33e-d7fe-45d2-88be-f43a26653a31)
bobiko added the
kind/bug
label 2024-05-20 07:49:34 +00:00
Owner

It looks like this is two-fold. The translation string is different - I've changed the English original in 01b7ae8091.

You'll need to adjust the translation to match the comma. Here: https://crowdin.com/editor/vikunja/4/en-pl?view=comfortable#1858
Translations will be synced once a day, so it might take up to 24h until the changed source string shows up in crowdin.

The idea behind this is that people in other languages might have other date formats, hence the translation difference. We may change this in the future.

It looks like this is two-fold. The translation string is different - I've changed the English original in https://kolaente.dev/vikunja/vikunja/commit/01b7ae8091915ef00a8ad346d6de3ca26706977b. You'll need to adjust the translation to match the comma. Here: https://crowdin.com/editor/vikunja/4/en-pl?view=comfortable#1858 Translations will be synced once a day, so it might take up to 24h until the changed source string shows up in crowdin. The idea behind this is that people in other languages might have other date formats, hence the translation difference. We may change this in the future.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#2340
No description provided.