ls: honor LC_TIME for --time-style=locale#11669
ls: honor LC_TIME for --time-style=locale#11669sylvestre wants to merge 4 commits intouutils:mainfrom
Conversation
|
GNU testsuite comparison: |
looking at this |
|
GNU testsuite comparison: |
e28448c to
c302650
Compare
|
GNU testsuite comparison: |
c302650 to
7856aaf
Compare
|
GNU testsuite comparison: |
7856aaf to
0a9df65
Compare
|
GNU testsuite comparison: |
|
You picked this issue up fast :D |
0a9df65 to
893c2ae
Compare
|
GNU testsuite comparison: |
|
@cakebaker |
|
I will finish the review of |
893c2ae to
36be3f5
Compare
|
GNU testsuite comparison: |
|
Hm, it looks like one of my previous suggestions doesn't work on OpenBSD as |
36be3f5 to
4486cc1
Compare
|
GNU testsuite comparison: |
Add format_system_time_locale_aware in uucore::time that runs the format string through i18n::datetime::localize_format_string when a non-C LC_TIME locale is active, and route ls's display_date through it. Fixes month names and alternate-calendar years (Persian, Buddhist, Ethiopian) matching GNU. Also generalize uutests' is_locale_available to derive the expected charmap from the locale suffix so non-UTF-8 locales work, and consolidate the ls locale tests into a single data-driven case.
4486cc1 to
9c09127
Compare
|
GNU testsuite comparison: |
The ls-specific column alignment padding (from abmon-align) was leaking into date output. Add a `pad` parameter to `localize_format_string` so ls gets padded names and date gets raw names.
9c09127 to
5619390
Compare
|
Binary size comparison: |
|
GNU testsuite comparison: |
nice, it works (and it is expected) |
|
Binary size comparison: |
|
where did that megabyte come from |
|
Datetime. In the db of translations |
|
Aren't the translations taken from the system? |
|
@cakebaker ok ? :) |
on my system