Public bug reported:

ksh doesn't print localized date-time properly anymore. E.g. the output of the 
following both commands should be the same ('So 9. Nov 07:15:31 MET 2025'):
/bin/ksh93 -c 'LC_TIME=de_DE.UTF-8 printf "%T\n"'
/bin/ksh93 -c 'LC_TIME=de_DE.UTF-8 date'

So the month and day of week name abbreviation gets translated to an
empty string ('   9 07:15:59 MET 2025').

This works on jammy as expected, but not on noble anymore.

For locale en_US.UTF-8 as well as C both works as expected. E.g.:
/bin/ksh93 -c 'LC_TIME=en_US.UTF-8 printf "%T\n"'
/bin/ksh93 -c 'LC_TIME=en_US.UTF-8 date'

Not sure, whether this has something to do with the locale packages?
jammy: locales 2.35-0ubuntu3.8
noble: locales 2.39-0ubuntu8.6

** Affects: ksh93u+m (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2130971

Title:
  ksh: bogus time output

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ksh93u+m/+bug/2130971/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to