delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=IdERnW+But8fe2oFMpliRj0Pv+wHgogvmQ61z6PEABb4glHrZbudl | |
552hTZay3R7C31HW1pG8GDTbTxffJE0ANo4x3ztZMwPsphjuquCeAUF7VcmGR1Jd | |
7sE9VNIwQIJGDBZkFZ9uRxhFlRRSR+a9qPiA7RmgZk25iCaBek2ht4= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=ba8yVAxWKK9OjnAHquGWbRsHTIU=; b=vA+9sbW2YBS5Sy+iekiyYAuFt0R0 | |
KoM15x5fjcO0aqdC03cQd5vQzkUWpcKIgZetgJHsJF4+BaQSlo9Ulf9XSL2WrSVZ | |
xqWh8DwbKdJw/RMBDeL+e3O5P1/LtuLne+dYzQRPwZzYtptscOyefPugQ8JYE5qG | |
UU9gjMe0JTRrSNE= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-101.5 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=experimentation, inconsistency, era, cygwin AT cygwin DOT com |
X-HELO: | drew.franken.de |
Date: | Wed, 31 Aug 2016 16:30:01 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Different representations of time in ls -l and date(1) |
Message-ID: | <20160831143001.GA22389@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <A45B1767F1002449A37508C2CC6003D736A332 AT DEFTHW99EJ1MSX DOT ww902 DOT siemens DOT net> |
MIME-Version: | 1.0 |
In-Reply-To: | <A45B1767F1002449A37508C2CC6003D736A332@DEFTHW99EJ1MSX.ww902.siemens.net> |
User-Agent: | Mutt/1.6.2 (2016-07-01) |
--8t9RHnE3ZwKMSgU+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 31 14:23, Schwarz, Konrad wrote: > > -----Original Message----- > > From: Schwarz, Konrad (CT RDA ITP SES-DE) > > Sent: Wednesday, August 31, 2016 2:51 PM > > To: 'cygwin AT cygwin DOT com' > > Subject: RE: Different representations of time in ls -l and date(1) > >=20 > > > -----Original Message----- > > > From: Schwarz, Konrad (CT RDA ITP SES-DE) > > > Sent: Wednesday, August 31, 2016 1:42 PM > > > To: 'cygwin AT cygwin DOT com' > > > Subject: RE: Different representations of time in ls -l and date(1) > > > > > > 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? > >=20 > > Further experimentation shows that they > > do indeed use the same format in the POSIX locale, (LANG=3DC), as > > required by that standard. > >=20 > > However, I still think it is an ugly inconsistency for them to differ > > in the en_US.UTF-8 locale (which I assume is the default locale in > > Cygwin). >=20 > Still further investigation shows that on SUSE Linux, with LANG=3Den_US.U= TF-8, > both of these utilities consistently, if counter-intuitively, display 24 = hour time. >=20 > So I think the problem lies in Cygwin's locale database. If so, it would be Window's locale database. Apart from information not available on Windows (era and messages info) all other locale info is fetched from Windows. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --8t9RHnE3ZwKMSgU+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXxunpAAoJEPU2Bp2uRE+gYzwP/05YzdTN4Q/2AzDfclZy6snd ic3sgBQhOX+TTzrgHBAZ8dVECH6WGduN7akkyN0CB2N/nWUYsnR3GOceq6mDT0ez Cl+0H4boyZAd/8ygVUhJGh0jumS94THWe6e1pK5zndAXMIt1bIZMYLwcGTXhZH0L lsT+S3+8UOiH6L49mWi8BO/iEWEtgR3ZN8d6yYhc9E4QZEJSU/7HKvQXYDEuXoTL XbOCWKeKnp7LTSDjYNhWANJ0L0YpxeqvJuDBOuWK7SpLtSPPF36LQOYLoiDQMryM lgGjwugIN3HeAyVDh1Qny0XFNRVuHjAp3s1wIYgLg3vEfyse/fGfjgZGwPv3DOQN Y/Lbmcz7Ihq8JhD+m17PMjc2Nf/4wcf8MEBm97fS8Gentc5cHwd/LISh0tp112kN sliMaMfANjhHYt9j6dp6I2dHM2k/8EcvvbyuKnkBA3dJu38Qqi1htPXkt3AgJWsd M1FvDcrkx+cDFCX831Sv/FjW2QKQHxLsGeE732Cr+xw+R/THOZfN0EkzB05+rniP rb798IbL22jwT2wbdDTgTNME4WSHxoQMOXVIHIHT08uaqmY+ii/Jvgyqrrpu7tGi 5yS6DiJCW5D7e/mkzNp6cIz6qaFi7cfmfjTAfRxMRr1DpNA6+SLkIkaZNhuDabsB GXPAH1pPY2MpIj8qZ5AN =q92i -----END PGP SIGNATURE----- --8t9RHnE3ZwKMSgU+--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |