Package: debian-reference Version: 2.76 Severity: minor Dear Maintainer,
In section 1.5.2, The "$LANG" variable, one of the examples given, showing how to pass an environement variable to a shell command, doesn't work as expected. 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: $ LC_TIME=fr_CA.UTF-8 date mardi 3 mars 2020, 22:00:45 (UTC-0500) Something in this section needs to be updated to reflect this. -- System Information: Debian Release: bullseye/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.4.13-sunvillage (SMP w/8 CPU cores; PREEMPT) Kernel taint flags: TAINT_UNSIGNED_MODULE Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages debian-reference depends on: ii debian-reference-en 2.76 Versions of packages debian-reference recommends: pn debian-reference-de <none> pn debian-reference-es <none> pn debian-reference-fr <none> pn debian-reference-it <none> pn debian-reference-ja <none> pn debian-reference-pt <none> pn debian-reference-zh-cn <none> pn debian-reference-zh-tw <none> debian-reference suggests no packages. -- no debconf information