Bug#926437: bsdmainutils: ncal week numbering for 2019 is off by one

2020-05-28 Thread Pasi Savolainen
Even if `ncal: setlocale: No such file or directory` is about my system not having "en_US" generated and falling back to LANG=C, I just can't find a place showing week 1 of 2019 being 6th-12th January 2019 for US. f.ex: https://www.timeanddate.com/calendar/custom.html?year=2019=1=1=1=1

Bug#926437: bsdmainutils: ncal week numbering for 2019 is off by one

2019-05-02 Thread Pasi Savolainen
Seems to be affected by `$LANG` (or derivative) as for example this gives correct week number: $ LANG=C ncal -w 01 2019 January 2019 Su 6 13 20 27 Mo 7 14 21 28 Tu 1 8 15 22 29 We 2 9 16 23 30 Th 3 10 17 24 31 Fr 4 11 18 25 Sa 5 12 19 26 1 2 3 4 5 $ echo $LANG

Bug#926437: bsdmainutils: ncal week numbering for 2019 is off by one

2019-04-05 Thread madonius
Package: bsdmainutils Version: 11.1.2+b1 Severity: important Dear Maintainer, according to ISO8601: "the first calendar week of a calendar year is the week including the first Thursday of that year" Running `ncal -w 01 2019` yields ``` January 2019 Su 6 13 20 27 Mo 7 14