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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=BCIJ4MARyBNfsmqT y2/bsImoYzaayJGWHEOfesOjhLTYeNEodgO4gaO5sRZyBLOT6kAL/SHeZAlFZDku kzHq37jjHdA6RavXSbJC7i2dyy/TaBIZBGiFP7bY3GXZle56dxqSN0HV5f61Ia0e lkxzZJIxna20v1gzCy+zuVGHmtU= 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=TlkbcgpFYKsw+8p6zGJbHt DKdRA=; b=vYoLoGQ+QW5ecWSuuoFaCZNcZThnkuDyVjmP7Dg+bAgZ8KHokkoK9P x/Y8NlxUCRiB8cmOsYXGRyvyJXdBdvf+oxj0w5gqDeC/JNFcKnwijyeci5vXiJnJ hrSEbeyWuD8WMbG1Jg1+wUnvJsEnT1k4ifCF/urTU18j1rWDxIIDg= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-2.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=soderquist, Soderquist, burned, disregard X-HELO: mail-it0-f52.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=YsVd5u7keS+WVuItlOOt07VpWj1E5RlNunapoQQQG1Y=; b=O/9NQT/B1zE4KGjPc+M1aT7fSFuiXDE0i4IaB3eFzUYbf/FlJNlf8rsOEUi8ffxEHx rqJKyHlcO38KMGg4LTcguoxzAm4yXRp3iD0/aPPbpxDjUdLm2nCnWt5PI4Qv0sstsX36 obm2uXhJqvxfRwb6nKiffiJKBjsi8EBuua2uxCdSBAQwONV39Dg3CMW6WYpMdPS9Rohd jRBFzcw7+MSv2GOIDTh2A6td0lPbS15yd1yTU8MrBKalDHHwG064CV/JNpCzWhT2SbH8 Yo0u+9K7O7WmY0s78+ku/c8HTo0VhwS1jMDDwsBvq1mrzw4XJzp0WuvLScy+8r6+d1zU u3vg== X-Gm-Message-State: AE9vXwMZ2T74cIg/XO80X9VCHxKqGBc86gdOSC2RGTl2RUhP569YZ9U6N/Qm52yTWNr6fA== X-Received: by 10.36.85.195 with SMTP id e186mr32830907itb.56.1472674627999; Wed, 31 Aug 2016 13:17:07 -0700 (PDT) Subject: Re: Different representations of time in ls -l and date(1) To: cygwin AT cygwin DOT com References: <860c2a0f5dd46780649de9a26ebc0464 AT mhoenicka DOT de> <60d27734-5ce7-6e25-e170-a0baa5442a69 AT redhat DOT com> From: cyg Simple Message-ID: Date: Wed, 31 Aug 2016 16:17:29 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes On 8/31/2016 11:23 AM, Erik Soderquist wrote: > On Wed, Aug 31, 2016 at 10:45 AM, Eric Blake wrote: >> So, the answer to your question is determined by what your locale thinks >> is the appropriate representation; and I have no control over whether >> Windows' locale defaults will match glibc's locale defaults for en_US or >> any other locale outside of C. > > > It is because I have been burned on this (world wide customers) that I > know explicitly specify the format I want to work with in my scripts > and disregard whatever the local is. > In other words, don't trust a default to provide the exact representation needed for your process to work correctly. You cannot control what a default might return so be specific if you have a specific format required. -- cyg Simple -- 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