Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First day of week is wrong in date picker #1560

Closed
dartcafe opened this issue Apr 23, 2021 · 3 comments · Fixed by #1674
Closed

First day of week is wrong in date picker #1560

dartcafe opened this issue Apr 23, 2021 · 3 comments · Fixed by #1674
Labels

Comments

@dartcafe
Copy link
Collaborator

dartcafe commented Apr 23, 2021

From #1558

What is going wrong?

Describe the bug
In a french setup [...], when adding a new date option, the dropdown calendar begins on sunday (even if the locale settings define the week to begin on monday)

Expected behavior
On new date addition, the dropdown calendar should begin on monday, accordingly with locale settings
Information about your polls installation

Polls version?
1.8.1

Fresh installation or update from a prior version (from which one)?
Fresh install

How did you install this version?(Appstore or describe installation)
from appstore
Information about your Instance of Nextcloud

Nextcloud version: 21.0.1

My locale settings :
locale settings
locale settings2
Language : french (fr)
Locale : French(France) (fr_FR)

Week starts on monday

The way new date option calendar is displayed
actual option date

The way it should be displayed according to fr_FR locale settings = monday first
(HTML modified with browser's dev tools)
whished date option popup

Originally posted by @onurb-taktile in #1558 (comment)

@dartcafe dartcafe added the bug label Apr 23, 2021
dartcafe added a commit that referenced this issue May 31, 2021
Signed-off-by: dartcafe <github@dartcafe.de>
dartcafe added a commit that referenced this issue May 31, 2021
This was referenced Jun 1, 2021
@AvverbioPronome
Copy link

Hey, this is broken again.

immagine
immagine

@AvverbioPronome
Copy link

If I change the locale to Italian (italy) it does what I expect, but English (europe) does not.

Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants