Michael Meskes dixit:
>As for the second, see above. Unless proven wrong I stick with what the locale
>gives me.
Funny thing, I just checked what strftime does; POSIX is a bit more
explanatory than the BSD manpages here, so quoting it:
U
Replaced by the week number of the year as a
On Thu, Jul 16, 2020 at 03:43:24PM +, Thorsten Glaser wrote:
> Michael Meskes dixit:
>
> >Do you have any documentation about the US system that is kind of
> >official? I doubt anyone in the States uses week numbers, but there may
> >be an official way nonetheless.
>
> https://de.wikipedia.or
Michael Meskes dixit:
>Do you have any documentation about the US system that is kind of
>official? I doubt anyone in the States uses week numbers, but there may
>be an official way nonetheless.
https://de.wikipedia.org/wiki/Woche#Berechnung_in_den_USA_und_vielen_anderen_L%C3%A4ndern
so far, plus
> … but they all look only for _NL_TIME_WEEK_1STWEEK, not for the
> mode of how the weeks are calculated. I know at least two, ISO
In fact there are three different queries, for _NL_TIME_WEEK_1STWEEK,
_NL_TIME_WEEK_1STDAY, and _NL_TIME_FIRST_WEEKDAY.
> (first week-of-year has at least 4 days/4ᵗʰ
Michael Meskes dixit:
>Huh? I don't think so:
>
>$ grep -r nl_langinfo ncal/*
Ah, I searched for locale, there’s another function…
… but they all look only for _NL_TIME_WEEK_1STWEEK, not for the
mode of how the weeks are calculated. I know at least two, ISO
(first week-of-year has at least 4 da
On Wed, 2020-07-15 at 18:50 +, Thorsten Glaser wrote:
> Michael Meskes dixit:
>
> >> b�& nor does ncal use the locale for this, so, no, it does not use
> >> appropriate calendar week calculation rules.
> >
> >This is simply not true since it definitely does.
>
> I looked before writing that e
Michael Meskes dixit:
>> b & nor does ncal use the locale for this, so, no, it does not use
>> appropriate calendar week calculation rules.
>
>This is simply not true since it definitely does.
I looked before writing that eMail, so it’s true; ncal uses the locale
to look up a country code, which
> >I haven't seen any error in ncal so far, but if you see some it
> might
>
> … nor does ncal use the locale for this, so, no, it does not use
> appropriate calendar week calculation rules.
This is simply not true since it definitely does.
> >be more helpful to report and/or fix those as ncal s
Michael Meskes dixit:
>> The locale doesnb t contain enough information to calculate calendar
>> weeks:
>> https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html
>
>Well, our locales do I think.
>
>> Thereb s neither a data field for the first day of the week, nor one
>> for
>>
> The locale doesn’t contain enough information to calculate calendar
> weeks:
> https://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap07.html
Well, our locales do I think.
> There’s neither a data field for the first day of the week, nor one
> for
> the various ways to calculate a cal
Michael Meskes dixit:
>> >Could you please elaborate what (n)cal miss? "ncal -w" does give you
>> >week numbers
>>
>> But which ones? American? German? ISO? (Turns out the latter two are
>
>Depends on the locale you use.
The locale doesn’t contain enough information to calculate calendar weeks:
h
> >Could you please elaborate what (n)cal miss? "ncal -w" does give you
> >week numbers
>
> But which ones? American? German? ISO? (Turns out the latter two are
Depends on the locale you use.
> identical.) This is completely underdocumented and doesn’t match
> expectations; even the “week begins
Michael Meskes dixit:
>Could you please elaborate what (n)cal miss? "ncal -w" does give you
>week numbers
But which ones? American? German? ISO? (Turns out the latter two are
identical.) This is completely underdocumented and doesn’t match
expectations; even the “week begins with sunday/monday” k
On Wed, Jul 08, 2020 at 09:13:50PM +0200, Thorsten Glaser wrote:
> I’ve packaged (some time ago already) cal(1) from OpenBSD, because
> it/its documentation guarantees a flag to get German calendar weeks
> (KWs) as “kwal” (specifically for that).
Could you please elaborate what (n)cal miss? "ncal
Package: ncal
Version: 12.1.3
Severity: wishlist
Hi,
I’ve packaged (some time ago already) cal(1) from OpenBSD, because
it/its documentation guarantees a flag to get German calendar weeks
(KWs) as “kwal” (specifically for that).
While I’ve not (yet) uploaded this to Debian itself, kwal could
als
15 matches
Mail list logo