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:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; q=dns; s=default; b=iac
	zMy24x1qwzsnPsIHC5Qy1wEvAYrSj3rSwiArW9/8qPc9Xgo1EQxz1+4RwLdWE9XA
	qXp5KwOVuyZebyRIgOk3OlYahV/pxf2NfcUyry76JElNbNtMll5TRlrZVtj2vnbG
	TQzn5b+Hse1iePbR9fR9lRvef23PnSlXlk5qgkCE=
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:from:to:subject:date:message-id:content-type
	:content-transfer-encoding:mime-version; s=default; bh=ZJ5IkfKjd
	mmnRUXw9OIeMEiouTc=; b=mp7ixMb9pO60hRkvrQZXdSUF66X85QtEdqlFFHqSm
	l2AAzPZYB8+WPzzpx8je8/znCeWaSe1vIxxt0eaHUpszD4Zy/K3a5ZQJAjH4OqLc
	9kR0AFhJAQBZfqiT6Y401v1vE4Vh4ReTqkkwMbDSJl6OwfCk/554o/NLO7wTpuJo
	54=
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=2.4 required=5.0 tests=AWL,BAYES_60,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=UD:UTF-8, en_USUTF8, en_us.utf-8, en_US.UTF-8
X-HELO: thoth.sbs.de
From: "Schwarz, Konrad" <konrad.schwarz@siemens.com>
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Subject: RE: Different representations of time in ls -l and date(1)
Date: Wed, 31 Aug 2016 11:41:36 +0000
Message-ID: <A45B1767F1002449A37508C2CC6003D736A232@DEFTHW99EJ1MSX.ww902.siemens.net>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u7VBfoUe000410

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?

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


