The week number displayed is off by one on my system. We're currently in week 24, calendar displays week 23. (It's 11th June, and my locale is LC_ALL=en_US.UTF8.) In a shell this display the right number (24): date +%V Python also gets it right: >>> import datetime >>> datetime.date.today().isocalendar()[1] 24 Reproducible: Always
Ah, interesting. This is indeed the case for locales starting the week with Sunday. Investigating.
Git commit bc0280ddb0b1333aee1a8bc0322ba61327ef015a by Martin Klapetek. Committed on 11/06/2015 at 23:11. Pushed by mklapetek into branch 'master'. [calendar] Always start counting weeks from Monday Sometimes the first day in the grid can be Sunday, but the week number must always be counted from Monday in that week Change-Id: I903650fcaadb4fd78764ad6a8bb1e219261c791b FIXED-IN: 5.11 M +13 -1 src/declarativeimports/calendar/calendar.cpp http://commits.kde.org/plasma-framework/bc0280ddb0b1333aee1a8bc0322ba61327ef015a
*confirms fixed* Thanks Martin!