From owner-freebsd-current@freebsd.org Fri Aug 5 16:03:03 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5A6E3BB0DE6 for ; Fri, 5 Aug 2016 16:03:03 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DD5A811E7 for ; Fri, 5 Aug 2016 16:03:02 +0000 (UTC) (envelope-from mailing-machine@vniz.net) Received: by mail-lf0-f53.google.com with SMTP id l69so206750924lfg.1 for ; Fri, 05 Aug 2016 09:03:02 -0700 (PDT) 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=g55zSeXtAN69FPfIVbYZcWJ1T9IQ9eyDMSkk4+ngmKs=; b=hWhA1YhoV591PmoOldBzZu9gWBJoZdRpJySn+klYqW6YRJQRVRPaUU+uUM/Xhjnv5P gtUYYCDMC5S+c1nMaY69NrYVhk582Dsu6emqmUWVMaDooOxTsv2VsCD5If4od8gLlFOZ ifDNAbZ+orGM2Edqm0iHl4VuJNNT9+xgIY4khVUXW5yfPrxTNHfNUjQIUFHFxOJ7eCmw lD1yFGIKaPdjm+Yn7u6J90dGOIuafPa9/5wbchw66nonv55z0cpkNJBD67eXk+WCIU4w LvfULPqDhSVhWSvd0XxoykOGDhHwRsi3iKfPyDAW/OTH5AucQPtkZ0GMqx30WSaN67IL 2hpQ== X-Gm-Message-State: AEkoouuOiGQvPRbOQ3OCAj9d9TiRc21IPuA0lP+VJ0DXGj6p1NIiKgRhSNszF5fPuGGy+Q== X-Received: by 10.25.207.129 with SMTP id f123mr21908647lfg.81.1470412594857; Fri, 05 Aug 2016 08:56:34 -0700 (PDT) Received: from [192.168.1.2] ([89.169.173.68]) by smtp.gmail.com with ESMTPSA id e79sm3274748lji.42.2016.08.05.08.56.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Aug 2016 08:56:33 -0700 (PDT) Subject: Re: date(1) default format changed between 10.3 and 11.0-BETA3 To: Mark Martinec , freebsd-current@freebsd.org References: <3629a441-ee6d-2407-fa13-5ebd8db8d802@freebsd.org> <000c29ee0f3dbd1d433c565023d69e25@mailbox.ijs.si> <279e9b67-da23-cdd6-3a77-b084ad8269eb@freebsd.org> From: Andrey Chernov Message-ID: <4a454eef-55ae-b90d-4441-2aa9708fc747@freebsd.org> Date: Fri, 5 Aug 2016 18:56:33 +0300 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=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2016 16:03:03 -0000 On 05.08.2016 18:44, Mark Martinec wrote: > On 2016-08-05 17:23, Andrey Chernov wrote: >> On 05.08.2016 17:47, Mark Martinec wrote: >>> [Bug 211598] >>> date(1) default format in en_EN locale breaks compatibility with 10.3 >>> and violates POSIX >>> >>> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211598 >> >> It breaks compatibility but not violates POSIX. POSIX care of only its >> own POSIX (or C) locale. > > POSIX does say that the default format should be the same > as with "+%a %b %e %H:%M:%S %Z %Y". > It also says that %a and %b are locale's abbreviated names. It is true for _POSIX_ locale only, as I already say. en_US.* is not POSIX or C locale. > It may not say what an abbreviated name really looks like > in a particular locale, but it does distinguish between > full and abbreviated names. It says nothing about other locales. Current format comes from CLDR, ask bapt@