[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#953075: debian-reference: Incorrect environment example for 'date' in section 1.5.2



Hi,

Hank Knox <hank.knox@gmail.com> wrote:
> The example looks like:
> 
> $ date
> Sun Jun  3 10:27:39 JST 2007
> $ LANG=fr_FR.UTF-8 date
> dimanche 3 juin 2007, 10:27:33 (UTC+0900)
> 
> but when I run it on my own system, I see the following (note that on my
> system, LANG=en_CA.UTF-8 and all LC_* environment variables are the same):
> 
> $ date
> Tue Mar  3 21:56:39 EST 2020
> $ LANG=fr_CA.UTF-8 date
> Tue Mar  3 21:56:58 EST 2020
> 
> Note that output in both cases in identical. The man page for date clearly says
> that date relies on LC_TIME and this works as expected:

Works fine here on a default configured Debian system.
So I suspect there is some configuration difference on your system, which
causes this.

Thus the doc is correct; closing this bug.

Holger


-- 
Holger Wansing <hwansing@mailbox.org>
PGP-Fingerprint: 496A C6E8 1442 4B34 8508  3529 59F1 87CA 156E B076


Reply to: