timestamp icon indicating copy to clipboard operation
timestamp copied to clipboard

Calendar Display: First Day of the Week

Open manngo opened this issue 7 years ago • 4 comments

Many, especially in Australia, regard Sunday as the first day of the week, and all of our calendars display accordingly.

Is it possible to (optionally) do this on the timestamp app?

Brilliant app, by the way.

manngo avatar Oct 25 '16 07:10 manngo

Hey @manngo!

Thanks for reaching out about this! I thought that currently the calendar display is aware of the system's language and would set up the first day of the week automatically correct. But seems like it doesn't. 🤔

I did a total refactoring of the code a couple of weeks ago and just need to finish the new calendar design. With the new release I will also add a preferences item where you can change the first day of the week regardless of the current system language. 👍

I'm quite busy right now but I'm on it! Thanks for your patience! 🍀

mzdr avatar Oct 25 '16 16:10 mzdr

Thanks for your response. I have checked, and my system is definitely set for Sunday as the first day of the week, so I can confirm that this is being overlooked. Thanks

manngo avatar Oct 26 '16 07:10 manngo

Alright, thanks for checking! I'll have a look into this, but nevertheless I will implement a switch in the app settings so that you can adjust it to your preference.

mzdr avatar Oct 26 '16 07:10 mzdr

Hey guys, I know this issue is old as fuck but I know now what to do in order to fix it. I could implement another option within the settings so that you can set it individually, but this doesn’t feel right. Timestamp should retrieve from the system settings what is the first day of the week. Unfortunately it is not possible with Electron natively.

But it’s possible with native node.js modules. So I have to write a native node module that will use NSCalendar to retrieve the systems current set firstWeekday. Unfortunately this is something completely new to me so I would appreciate any help. Otherwise this might take a while and I think it will not make 1.1.0. Planning for 1.1.1 now.

mzdr avatar May 02 '21 21:05 mzdr