YU000jp / logseq-plugin-show-weekday-and-week-number

Show weekday and week number beside journal titles. / Show the mini-calendar that has navigational links on Daily Journal.
https://discuss.logseq.com/t/show-week-day-and-week-number/12685/1
MIT License
37 stars 1 forks source link

Add an option in plugin settings to set the beginning of the week to either Monday or Sunday #100

Closed YU000jp closed 7 months ago

YU000jp commented 7 months ago

Would it be possible to add an option in config to set the beginning of the week to either Monday or Sunday?

Originally posted by @samtwalker in https://github.com/YU000jp/logseq-plugin-show-weekday-and-week-number/discussions/99

samtwalker commented 7 months ago

Thank you for the quick response and work! I have reloaded and tested, the top calendar (for 2 weeks) is not updating, and when I try to create future days to start the week (choosing Sunday) the week is not being set on that day for the correct week. i.e. this week is 39th and next week (starting Sunday for me) would be week 40. Let me know if I am missing something.

image image

YU000jp commented 7 months ago

@samtwalker In that case, set Week number calculation to "US format". (It was a bug that the mini calendar was not changed when on ISO format.)

samtwalker commented 7 months ago

Perfect. Thank you!