Change in ls -l time stamp display?

Sjoerd Mullender sjoerd at acm.org
Tue Jul 17 12:12:48 UTC 2007


Pete Geenhuizen wrote:
> On Tue, July 17, 2007 07:36, Karl Larsen wrote:
>> Pete Geenhuizen wrote:
>>> I just started noodling around with F7, on my second install, and I'm
>>> sure that initially, but not positive, in an ls -l listing the file
>>> time stamp was as it has always been.
>>>
>>> Either I missed it or the recent update of coreutils has changed the
>>> time stamp display in a long listing of ls. Is it me or has anyone
>>> else also noticed this change.
>>>
>>> This is what I mean, notice the date format
>>> fc6
>>> $ ls -lad /etc
>>> drwxr-xr-x 154 root root 12288 Jul 17 00:44 /etc
>>>
>>> now in f7
>>> $ ls -lad /etc
>>> drwxr-xr-x 108 root root 12288 2007-07-17 04:28 /etc
>>>
>>> If it's me can someone enlighten me what the fix is or is this a bug?
>>>
>>> Thx
>>> Pete
>>> --
>>> This message has been scanned for viruses and
>>> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and
>>> is
>>> believed to be clean.
>> I don't detect any virus from your email Pete. Why did you install F7
>> twice?
> Because I might have more than one computer perhaps?
> 
>> If it loads it is good I thought. I looked at man ls and it seems
>> to be the same one from FC6 so far as I can see. What you show is the
>> same thing from FC6 and F7 the difference being the date. On FC6 you get
>> a USA standard date. On F7 you get the European date and that looks
>> different. Both are accurate I think and I like the looks of the F7 line
>> better :-)
> I'm not disputing it's accuracy. 
> I checked the man pages.
> I didn't ask for, didn't select, nor do I live in Europe, no offense,
> but  I have no interest in European time display. 
> 
> None of you suggestions or comments address my question, and if I
> preferred the f7 output I wouldn't have brought it up, I obviously
> prefer the old listing which has been that way in every Unix version
> that I've worked on for the past 25 years.

I noticed the difference too.  I use something like this to get the old
formatting back:

alias ls="ls --time-style=$'+%b %_d  %Y\n%b %_d %H:%M'"

-- 
Sjoerd Mullender

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 370 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20070717/0c7d19c0/attachment-0001.sig>


More information about the fedora-list mailing list