knadh / listmonk

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
https://listmonk.app
GNU Affero General Public License v3.0
14.54k stars 1.33k forks source link

Start of Week on Mondays #641

Open NicoHood opened 2 years ago

NicoHood commented 2 years ago

Checkout the schedule calendar: grafik

The week starts on sunday. In Europa it usually starts on mondays. How can I change this? I think it would make sense to read that information from the browser? Or must I set environment variables for that?

knadh commented 2 years ago

There's no config for this. I assumed the datepicker lib would automatically pick up the locale and adjust accordingly, but that doesn't seem to be the case. Will investigate how this can be done automatically with the lib.

marcinkunert commented 2 years ago

I've done some digging and there is a possibility to change the first day of month https://github.com/buefy/buefy/issues/276 (https://github.com/buefy/buefy/commit/59a0be886719d00efebaf5799231af49d8a9fc5f) using first-day-of-week (e.g. the :first-day-of-week="1").

I don't think creating an option in settings in listmonk is a good idea. I've created a feature request for buefy https://github.com/buefy/buefy/issues/3648 hoping that they will make the start of the week day locale dependent.

knadh commented 2 years ago

I've created a feature request for buefy buefy/buefy#3648 hoping that they will make the start of the week day locale dependent.

Thanks!

MJacred commented 2 years ago

The referenced issue got closed with the comment to use the global config https://github.com/buefy/buefy/issues/3648#issuecomment-1021497541 (and that the feature might come someday)

1000i100 commented 2 months ago

I don't understand, is it fixed or not ? It looks like there is a solution with config file ? (i'm not fully fluent in english) As of v3.0.0 the week start on sunday and i'vent seen anything to change that nor in config file or in admin UI.