Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LANG and LC_TIME are ignored #6

Open
walt-ko opened this issue May 26, 2023 · 0 comments
Open

LANG and LC_TIME are ignored #6

walt-ko opened this issue May 26, 2023 · 0 comments

Comments

@walt-ko
Copy link

walt-ko commented May 26, 2023

Hi

rdate ignores localisation settings

correct behaviour of "date":

root@myhost:~# LANG=en_US.UTF-8 LC_TIME=en_US.UTF-8 date
Fri May 26 03:56:07 AM MSK 2023
root@myhost:~# LANG=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 date
Fri 26 May 03:56:15 MSK 2023
root@myhost:~# 

incorrect behaviour of "rdate":

root@myhost:~# LANG=en_US.UTF-8 LC_TIME=en_US.UTF-8 rdate -p timeserver
Fri May 26 03:56:33 MSK 2023
root@myhost:~# LANG=en_GB.UTF-8 LC_TIME=en_GB.UTF-8 rdate -p timeserver
Fri May 26 03:56:44 MSK 2023
root@myhost:~# 

should be fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant