X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 	tests=BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Eric Backus <eric_backus@agilent.com>
Subject:  Re: [1.7] Updated: cygwin-1.7.0-63
Date: Sat, 7 Nov 2009 20:38:53 +0000 (UTC)
Lines: 34
Message-ID:  <loom.20091107T213619-439@post.gmane.org>
References:  <20091103145437.GM7831@calimero.vinschen.de> 	 <806a89db0911031113m2cf926aw7bc0be53fa5919cb@mail.gmail.com> 	 <4AF08991.6050600@dronecode.org.uk> 	 <20091103195411.GA31004@ednor.casa.cgf.cx> 	 <806a89db0911051219j72e0eef2x58558849738442eb@mail.gmail.com> 	 <4AF3967D.5@byu.net> <806a89db0911061038x2358b217k99d8eaf17e3aa949@mail.gmail.com>
Mime-Version:  1.0
Content-Type:  text/plain; charset=us-ascii
Content-Transfer-Encoding:  7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Jim Reisert AD1C <jjreisert <at> alum.mit.edu> writes:

> Thanks, Eric.  I tried this but could not get what I wanted:
> 
> LTDENA-REISERT:c/Home> ls -al --time-style="posix-long-iso"
> 
> -rwx------  1 reisert        Domain Users    3326 2009-10-30 12:51 .XWinrc
> -rwx------  1 reisert        Users            663 2009-02-26 10:37 .Xdefaults
> 
> From the info link you sent me, it says:
> 
>     `posix-STYLE'
>           List POSIX-locale timestamps if the `LC_TIME' locale category
>           is POSIX, STYLE timestamps otherwise.  For example, the
>           `posix-long-iso' style lists timestamps like `Mar 30  2002'
>           and `Mar 30 23:45' when in the POSIX locale, and like
>           `2002-03-30 23:45' otherwise.
> 
> I must not be in a POSIX LOCALE, then.  LC_TIME isn't defined,  nor is 
LOCALE.
> 
> How do I make this work, while maintaining:
> 
>     LANG=en_US.UTF-8
> 
> - Jim

You might try "LANG=en_us.UTF-8" (Note the lower-case "us").  It seems to 
change the time formatting used by ls.  But I don't understand how or why, nor 
do I know if it will break whatever else you're using LANG for.
-- 
Eric Backus




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

