Hello, My locale is en_IE.UTF-8, so when I run the date command, the output at time of writing is "Mon 15 Jan 2024 20:39:04 GMT"
Maybe I'm mistaken, but with that in mind I'd expect the following scenario: With time locale en_IE.UTF-8 the --time-style=locale within the past year should be equivalent to --time-style"+%e %b %R". And older than a year would be equivalent to --time-style"+%e %b %Y". However, this is what I get with following command $ ls -l --time-style=locale total 12 drwxr-xr-x 2 bjorn bjorn 4096 Aug 23 2022 dir1 drwxr-xr-x 2 bjorn bjorn 4096 Dec 30 17:44 dir2 drwxr-xr-x 2 bjorn bjorn 4096 Jan 15 19:25 dir3 -rw-r--r-- 1 bjorn bjorn 0 Nov 7 2022 file1 -rw-r--r-- 1 bjorn bjorn 0 Dec 18 12:16 file2 -rw-r--r-- 1 bjorn bjorn 0 Jan 15 19:25 file3 As you can see, even though I specify using my current locale, it outputs date as Month before Day. Is this a locale bug within ls? Regards,Bjorn N