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

Starting day of the week (Sunday vs Monday) #384

Closed
fengshaun opened this issue Mar 23, 2017 · 55 comments · Fixed by nextcloud/server#46592
Closed

Starting day of the week (Sunday vs Monday) #384

fengshaun opened this issue Mar 23, 2017 · 55 comments · Fixed by nextcloud/server#46592
Assignees
Labels
3. to review Waiting for reviews enhancement New feature request

Comments

@fengshaun
Copy link

Nextcloud 10, Calendar 1.5.1

There is currently no way to set the starting day of the week (Sunday vs Monday) and it defaults to Sunday. It would be beneficial to have this as a configurable option.

@tcitworld
Copy link
Member

The first day of the week is currently determined based on your language
There are plans for a dedicated region input in the server:
nextcloud/server#1781

@vladislavivanistsev
Copy link

Sorry, but it make no sense that you determine the first day based on language. Please make an option for choosing the day.

@websafe
Copy link

websafe commented Mar 22, 2018

I need to have NextCloud in English (because it's easier to find/report bugs and the UI works with English as expected) but I want to have Monday as my first day of week in the calendar. The Tasks module has a Start of week setting. Would be great to have this in the calendar module too.

#183 #562

@georgehrke
Copy link
Member

@websafe Please read @tcitworld's comment above. ;)

We won't have a dedicated start of week input, but there will be a locale setting in the server. So you will be able to select english as language and Poland as locale.

@KaiRo-at
Copy link

Locale just doesn't cut it. Not even everyone living in the US wants Sunday as the first day of the week in their calendars, even if the pretty surely want US English locale settings. Making first day of the week locale-dependent has been FAIL state in every calendar app so far, but I guess every one of them needs to go 10 years or more and have a bloody nose before they realize it.

@evilphish
Copy link

I can only second what @KaiRo-at pointed out. There should be a dedicated first day of the week setting. I use English as a language even though this is not my mother tongue but in science, where I work with people from numerous different nationalities and backgrounds, this is a good common denominator. Of course the locale has to stay that way as well as I do not want others to mistake a period for a comma where numbers are concerned, etc. However all of us in our research center use Monday as the first day of the week. Implementing this setting therefore makes a lot of sense. Additionally, customizability is one of the main strengths of open source projects. Otherwise we can all just buy Apple and do it "their way".

So please, give us a dedicated fdotw setting :)

@adamoell
Copy link

I have set my language to English (British), and the calendar is rendered Monday-first. UK calendars are pretty much universally Sunday-first. That is a clear bug. I can set my language to English (US), but then the dates are rendered the wrong way around. So, the calendar default for English (British) needs to be Sunday-first (this is a bug), while I would also support the call for a user/admin configurable parameter (this is a feature request). Thanks!

@freddie-freeloader
Copy link

Almost every calendar app gives me the choice for the starting day of the week - independent of my locale settings. It's super confusing for me to switch from other applications to Nextcloud Calendar. For this reason, I do not use the Nextcloud Calendar anymore. Most other stuff about the calendar is great!

Please consider reopening this issue.

@fazlerabbi37

This comment has been minimized.

@noci2012
Copy link

noci2012 commented Sep 29, 2019

This is becoming a nightmare...
Same with setting up DEBIAN, it can;t be setup US, settings and then select UTC as a Timezone... weird.
Some tools using language as base for selecting all non-languagy things,
same for locales.. They should provide defaults. and the default should be able to be overriden.
Selecting English & US settings makes stuff work for me better (some software requires LC_ALL=C.. )
No Sunday is the first day?... (i am EU based btw),

Another thing: Setting local to Dutch (getting the calender right makes the weekdays dutch, monthnames ... for an english user env.)... How could this go wrong?.

@edumerco
Copy link

edumerco commented Feb 3, 2020

Please, let each person choose whatever it needs...
Thanks a lot. :)

@lpulley
Copy link

lpulley commented Apr 24, 2020

Using locale makes no sense for this. I use ISO dates, Monday first, 24-hour time, and US spelling. There is no locale that does this, or anything close to it. There should absolutely be user settings for 12/24 hours, Sunday/Monday first, US/UK/ISO date format, etc. like in every major platform.

If you think that locale-only is the right way to do this, you're ignoring a huge part of your userbase.

@sergilazaro
Copy link

This issue makes using nextcloud calendar a non-starter for me. A problem gets a wrong solution and complaints ignored.

@lpulley
Copy link

lpulley commented May 16, 2020

Is it possible to add a custom locale as a workaround for this?

@edumerco
Copy link

Maybe I didn't get it, but is it a fix available or was decided not to work on it? Thanks...

@noci2012
Copy link

noci2012 commented Jun 16, 2020

AFAICT support that was inside calendar has been actively removed. So i HOPE but have serious doubts it will ever get fixed...
The Calendar INCLUDING date formats was what actually made me decide to use owncloud/nextcloud.

@erchbox
Copy link

erchbox commented Jul 29, 2020

Some people star their working week on Sundays, others on Monday independently of their country of residence.
The starting day of the week should be a setting based on the user preference not related at all to the locale settings.

@mschilli87
Copy link

@lpulley: I am in your boat. Did you ever find a viable solution?
I found 'English (Ireland)' to check most of my boxes (date are not ISO but at least day first, year last - so in some reasonable order 😉). Unfortunatley, NextCloud is the only place I encountered where that locale results in Sunday being the first day of the week, deviating from other systems I have encountered.
Also, there is 'English (Germany)' amongst the locales I can choose from on NextCloud. While I have no clue what that is supposed to be, I have yet to meet a single German person to start their week on Sunday. Yet, the 'English (Germany)' locale does just that.
Did I miss the actual reason why this feature that is requested by many over years is opposed by the maintainers? Is there some implementation challenge or heavy maintenance burden I do not see or is this just a case of (American) ignorance? There have been so may good arguments here plus this feature is absolute standard in any other calendar I came across in the last decade.

To me, this issue makes the calendar useless.
So I'd probably stop using Nextcloud if I can't find a solution for this.
I actually missed important appointments because I got confused by the layout that is forced on me without explanation.

Please understand that I am not here to complain.
I want to find a solution.
I am willing to contribute.
But AFAICT, a PR would likely be rejected because you want your software to be broken. 😉
Apparently, even politely asking for feedback is considered spam.
I find this whole issue very irritating and quite frankly alienating.

So I hope I am just misreading the discussion and somebody can shine a light on why the situation has to be as bad as it is right now and maybe there is some sort of hack to make it work: I have root access to the machine running Nextcloud; There must be a way to trick this broken calendar app into doing what so many of us want!

@binyamin
Copy link

binyamin commented Dec 11, 2020

We won't have a dedicated start of week input, but there will be a locale setting in the server. So you will be able to select english as language and Poland as locale.

@georgehrke
Perhaps I am confused. How does the start of the week relate to locale? Conceptually, it's much earlier than the ISO 8601 which defined Monday as the first day of the week.

Also, are you willing to give us a reason why you "won't" implement this feature? Doing so can mitigate a certain amount of further pushback.

@mschilli87

This comment was marked as outdated.

@lpulley
Copy link

lpulley commented Dec 17, 2020

I since migrated away and simply stopped using this piece of software

Yep. There are enough calendar alternatives that I'm not going to fight this one for date formats when others make it easy.

@masterwishx

This comment was marked as off-topic.

@tcitworld

This comment was marked as off-topic.

@Waltibaba
Copy link

I have set my language to English (British), and the calendar is rendered Monday-first. UK calendars are pretty much universally Sunday-first. That is a clear bug. I can set my language to English (US), but then the dates are rendered the wrong way around. So, the calendar default for English (British) needs to be Sunday-first (this is a bug), while I would also support the call for a user/admin configurable parameter (this is a feature request). Thanks!

It's funny since a corollary of @tcitworld 's statement is that they cannot possibly be correct or even internally consistent. What is the English language default first weekday? In India, South Africa, Jamaica, New Zealand, USA, Canada, UK or any other offically English-speaking country/locale?

@tomleary
Copy link

Five years since the first post and Nextcloud still hasn't figured it out. lol

@AIndoria
Copy link

AIndoria commented Oct 1, 2022

How in the world is this still a problem? Just give us a toggle ffs. Why should I choose another locale where it clearly SHOULD be English US and I want the weeks to start on Mondays?

image

@cabo40
Copy link

cabo40 commented Nov 25, 2022

Sorry @tcitworld, can you please open this issue again to make it more visible and increase the chances of a PR?

@mschilli87

This comment was marked as outdated.

@jytou
Copy link

jytou commented May 9, 2023

After being bitten for the n-th time by the starting day as a Sunday in my calendar, I definitely second this - everyone should be able to select a starting day, independently of other settings such as language or locale: they may be loosely related, but only loosely. :) It could certainly be on the server in order to benefit other apps.

@masterwishx
Copy link

Any Updates for this ?

@gilbsgilbs
Copy link

I have a local branch implementing this. I originally also wanted to support switching between meridian and non-meridian time formats.

As I found a locale that was good-enough for my use-case, I've lost motivation. But if somebody wants to finish up the work it should be a fairly easy task and good first issue: gilbsgilbs/calendar@main...gilbsgilbs:calendar:custom-first-day

(Note that tests are missing on my branch, and the meridian feature does not work yet. However, as far as I remember, changing first day of week did work)

@bendev25689
Copy link

bendev25689 commented Jun 27, 2023

just to show there is interest in this issue, I would much prefer an interface such as the following, present in synology calendar.
Much more versatile than relying on locale info which no-one can agree on.
image
On this subject, the Australian locale is wrong. We start the week on monday, not sunday. Source: https://www.timeanddate.com/calendar/days/first-day-of-the-week.html

@masterwishx
Copy link

I think this problem needs be fixed long time ago in nextcloud ...

@politas
Copy link

politas commented Oct 2, 2023

The fact is, even if you have a locale that sets "week starts on" to Monday, Calendar is not respecting that. #5022 was supposed to fix that, but as of Calendar 4.5.2, it still isn't (Can we please have #2663 re-opened for that issue?

But seriously, this should be a user setting in calendar to allow override of the locale setting. People have requirements for their calendar that go beyond where they happen to live!

@bunk3m
Copy link

bunk3m commented Oct 22, 2023

I see this as a serious issue with the NextCloud calendar. As many have noted above, you absolutely have to be able to make specific adjustments for personal preferences. In addition, we have to have the manual ability to change mistakes. For example. EN-CA English for Canada. We have a mixed dictionary with British and US spelling of words. Granted this isn't about the Calendar but it's a symptom of the rest. We use metric for everything except for paper, buying groceries (mix of metric and imperial). Good luck finding a ream of A4 paper here. Nope, nada, nothing.
Our date format is 2023-10-22 not 2023/10/22 but most people use the US MM/DD/YY or MM/DD/YYYY.
Most people use AM/PM but a many use a 24 hour clock as do I.
I've seen people suggest English-UK but that local screws up our dictionary and the date format isn't right. Good luck to the individuals who like the US date format.
And I prefer to start my week on Monday not Sunday on my PC.
Every other software system allows fine tuning of these settings. The drop downs that one person posted above is a great idea.
Sure, most people may be OK with the locale, but the point of having a digital cloud based solution is that anyone can use it and set it up as they wish. Allowing the individual to override the standard (in addition to not being correct) locale settings is essential.

@karolyi

This comment was marked as spam.

@jancborchardt jancborchardt added the enhancement New feature request label Dec 21, 2023
@didvids
Copy link

didvids commented Jan 4, 2024

Australian here. Setting the locale to 'English (Australia)' results in 'Week starts on Sunday'. Incorrect, needs a fix.

@KaKi87
Copy link

KaKi87 commented Mar 6, 2024

Also, I noticed the existence of an "English (World)" option, that indicates "Week starts on Monday", but when selected, calendar week still starts on Sunday.

On the other hand, "English (United Kingdom)", which also indicates the same thing, does make the calendar behave as advertised, although there's a 1-second delay for it to apply at each calendar page load.

Additionally, the locale dropdown isn't ordered alphabetically.

@masterwishx
Copy link

i have (Auto) Asia/Jerusalem in calendar but still have first day Monday instead of Sunday becouse of Russian in Local Settings.
Maybe just to add choosing in calendar setting start day like in all other calendars ?

@mschilli87

This comment was marked as resolved.

@KaKi87

This comment has been minimized.

@edumerco

This comment has been minimized.

@masterwishx

This comment has been minimized.

@bunk3m

This comment has been minimized.

@mschilli87
Copy link

Thank you @st3iny for fixing this long standing bug. ❤️
Once this makes it into a stable release, I might finally be able to switch to using the web calendar app.

@edumerco
Copy link

Thank you very much @st3iny !!! 👏 👏 👏

@jancborchardt
Copy link
Member

Thanks to everyone for your patience, sorry that sometimes some things take longer. :) Please keep the reports coming, and also use the 👍 functionality on issues, because this helps us estimate how much impact an issue has.

Hope you will enjoy the upcoming release! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.