FS#54988 - [systemd] LC_* variable set to empty string
Attached to Project:
Arch Linux
Opened by James Pike (jpike) - Monday, 31 July 2017, 12:55 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 12 October 2017, 02:37 GMT
Opened by James Pike (jpike) - Monday, 31 July 2017, 12:55 GMT
Last edited by Doug Newgard (Scimmia) - Thursday, 12 October 2017, 02:37 GMT
|
Details
Description:
node package no longer supports locale Additional info: * node 8.2.1 Steps to reproduce: % LANG=en_GB.UTF-8 node -e 'console.log((123456).toLocaleString())' Shows `123456` should show `123,456` Have done `localegen`, rebooted, set my locale to various others (en_US etc.) |
This task depends upon
Closed by Doug Newgard (Scimmia)
Thursday, 12 October 2017, 02:37 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 235.0-1
Thursday, 12 October 2017, 02:37 GMT
Reason for closing: Fixed
Additional comments about closing: systemd 235.0-1
LC_ALL=$LANG node -e 'console.log((123456).toLocaleString())'
Then I get "123,456" as I would expect, but then I read at https://wiki.archlinux.org/index.php/locale#LC_ALL:_troubleshooting that LC_ALL is "to be used only for testing or troubleshooting purposes"
So I really dunno what is going on.
Knowing very little about locales myself, I have no idea whether that is good, bad, expected, indifferent, etc.
EDIT: I have no idea where it is set, as I certainly never did so manually, but all the LC_* variables are set and equal to the empty string. `unset LC_MESSAGES` also makes the comma appear.
EDIT: Oh, it's time for a systemd joke I guess: https://github.com/systemd/systemd/issues/6407