Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.3: ls date format switched from previous releases' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.3: ls date format switched from previous releases
Authored by: LC on Jan 20, '04 05:48:29PM
O.K. I think I get it now, md_order is defined in timedef of the locale source, for example --
#
# md_order
#
md

So, some of the locales in use probably have "dm" which is triggering that "d_first" in /bin/ls.
If I can dump 'em or figure out which one(s), I'll post here. Larry.

[ Reply to This | # ]
10.3: ls date format switched from previous releases
Authored by: LC on Jan 20, '04 06:11:37PM
I grep'ed all of the LC_TIME files under /usr/share/locale and most of them specify "dm"
as the month-date order, which is probably what's stimulating /bin/ls to do that. But the USA and Canada English
locales do specify "md". I checked both my Date (time zone) and International System Preferences panels and those
settings looked o.k.; so I'm still wondering which preference file is throwing off my current locale setting and so ls. Larry.

[ Reply to This | # ]
10.3: ls date format switched from previous releases
Authored by: fenner on Jan 20, '04 08:44:45PM

Due to a error introduced when porting the locale code, ls doesn't look at the order field; it always uses "dm". You're not going to find a preference to change it because it's a bug.



[ Reply to This | # ]