X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=ugLkIwZHG70EWu3G
	Lb+FSdVdsUbPXNEgQOJqz2JH3keK6dI/IcqJZr4Ng1FmIk1BbBCph+65uXFIPceS
	gCkOmujkxzmYkNFjh1+EhAz5ebZdy9sUrGPbqljj9gg9ze7UrFXvhMdyi526Z2NH
	Bi3oFNj5xsF9tVkk83NhhzQM1BU=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=ZJdLeTmWpK5iXApIhrV/vk
	Znabg=; b=fNT9gPqgINu5VBghg2ANFIOCzJx2glGhWWWN9A0G7EXRoVDK5WEldp
	WjdYLZWmjY5rlJLn9NJ+6SF/uB3rYWpNpAY1PeHp/xNN4/f6zXEgYMIgZSRTyxhs
	ExjXo+/yLc6TB25kzZANCsOMfMPvPRD6dSKLvcpkNNaHwa9GhRkes=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=1.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=ton, UD:UTF-8, UD:en_US.UTF-8, en_US.UTF-8
X-HELO: mail-wm0-f49.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=1e100.net; s=20130820;        h=x-gm-message-state:subject:to:references:from:message-id:date         :user-agent:mime-version:in-reply-to:content-transfer-encoding;        bh=lAvdfCZRLEKYYjbrbwQ0GB2pzGj4hj7MzYmU678ozes=;        b=aPt3oV48yV1TXR92N6G7BrnZR8/h65dfg6Pn00G4XNMBLIg2pV+p4M1yyYO4aIICyE         J7vkTLLaR8Jry4SvklCVzexLh+U2U7K8ih/w7iSHBJe2MHjCpMEeLl3iL1DTwZSBVUnS         GpiWv/ZV9zjdluebCx1hxPVi2jUEC5wx3Stuuhdh12Jh/t2sd8AlhJI0/shqjRtiEL9Q         sOfpvkeEk6asR40P+RZT+73gvVOAcvD6XwRz1OsKTrEJDOAPqa/85ROUM3oPu58AkdMt         +eInCvcUbevdE0ViGTqrxrbNv8dkvbnXUb78o3doXkSzXDOQZUEgMs/DGvN0Pv5Q7A27         SKfg==
X-Gm-Message-State: AE9vXwMcVJDQgGLjwdi376Qid0jn20gM0Sx3nsZn7uE8LpXNWROXLp7MNW4s+PYslHueIw==
X-Received: by 10.194.126.168 with SMTP id mz8mr8902621wjb.27.1472645934637;        Wed, 31 Aug 2016 05:18:54 -0700 (PDT)
Subject: Re: Different representations of time in ls -l and date(1)
To: cygwin@cygwin.com
References: <A45B1767F1002449A37508C2CC6003D736A232@DEFTHW99EJ1MSX.ww902.siemens.net> <860c2a0f5dd46780649de9a26ebc0464@mhoenicka.de>
From: Marco Atzeri <marco.atzeri@gmail.com>
Message-ID: <622122e4-d525-d95d-c4fe-b4ea63d59ef7@gmail.com>
Date: Wed, 31 Aug 2016 14:18:44 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0
MIME-Version: 1.0
In-Reply-To: <860c2a0f5dd46780649de9a26ebc0464@mhoenicka.de>
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 31/08/2016 14:09, Markus Hoenicka wrote:
> At 2016-08-31 13:41, Schwarz, Konrad was heard to say:
>> Sorry for the previous incomplete mail.
>>
>> So my problem is that date(1) outputs AM/PM style dates, whereas ls -l
>> uses 24 hour times.
>>
>> $ ls -l rtos_benchmark.lst
>> -rwxr-xr-x+ 1 mchn1350 Domain Users 263 Aug 31 13:14 rtos_benchmark.lst*
>> $ date
>> Wed, Aug 31, 2016  1:39:35 PM
>> $ echo $LC_TIME
>>
>> $ echo $LANG
>> en_US.UTF-8
>>
>> Shouldn't they be using the same format?
>>

>
> date has a ton of options to format the output including the 12/24 h
> style, , see 'man date'.
>
> regards,
> Markus
>

same for ls.

Regards
Marco

--
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

