Week number of year is incorrect

Describe the bug
Jan 4th, 2021 should be Week #1 according to ISO8601. When using the Date / Time Widget, the 'w' format shows incorrectly.

Week Numbers for 2021 has the correct date. BTT shows that it pulls the format from UTS #35: Unicode LDML: Dates , but it seems to be implemented incorrectly.


Screenshot of touch bar, showing date and week #. Jan 4th, 2021 should be Week #1 according to ISO8601

Device information:

  • Type of Mac: MacBook Pro (15-inch, 2017)
  • macOS version: macOS Catalina 10.15.7
  • BetterTouchTool version: 3.505

I ended up writing a script instead of using the widget.

For example, you can show such as 'W01 Jan 06 13:07' with this command:

echo "W$(date +"%U %b %d %H:%M")"

Imprint | Privacy Policy