From owner-freebsd-current@freebsd.org Sat Aug 6 19:08:29 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 D459DBB0AEA for ; Sat, 6 Aug 2016 19:08:29 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "vps1.elischer.org", Issuer "CA Cert Signing Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2E7691A52; Sat, 6 Aug 2016 19:08:29 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from Julian-MBP3.local (ppp121-45-226-8.lns20.per1.internode.on.net [121.45.226.8]) (authenticated bits=0) by vps1.elischer.org (8.15.2/8.15.2) with ESMTPSA id u76J8GwN012658 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Sat, 6 Aug 2016 12:08:19 -0700 (PDT) (envelope-from julian@freebsd.org) Subject: Re: date(1) default format changed between 10.3 and 11.0-BETA3 To: Benjamin Kaduk , Baptiste Daroussin References: <3629a441-ee6d-2407-fa13-5ebd8db8d802@freebsd.org> <000c29ee0f3dbd1d433c565023d69e25@mailbox.ijs.si> <279e9b67-da23-cdd6-3a77-b084ad8269eb@freebsd.org> <4a454eef-55ae-b90d-4441-2aa9708fc747@freebsd.org> <20160806041536.GL86883@eureka.lemis.com> <20160806100053.5fpf27pcgona7czp@ivaldir.etoilebsd.net> Cc: "Greg 'groggy' Lehey" , Andrey Chernov , Mark Martinec , freebsd-current@FreeBSD.org From: Julian Elischer Message-ID: <3b68be24-7ec8-08be-53f4-a4b088840c35@freebsd.org> Date: Sun, 7 Aug 2016 03:08:11 +0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed 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: Sat, 06 Aug 2016 19:08:29 -0000 On 6/08/2016 11:09 PM, Benjamin Kaduk wrote: > On Sat, 6 Aug 2016, Baptiste Daroussin wrote: > >> On Sat, Aug 06, 2016 at 02:15:36PM +1000, Greg 'groggy' Lehey wrote: >>> On Friday, 5 August 2016 at 18:56:33 +0300, Andrey A. Chernov wrote: >>>> On 05.08.2016 18:44, Mark Martinec wrote: >>>>> On 2016-08-05 17:23, Andrey Chernov wrote: >>>>> >>>>> 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 still violates POLA. >>> >> I really do not think that it violates POLA fiven that the behaviour you are >> expecting is still available in the default configurtion that is still POSIX. > Regardless, at a new major release is precisely when it is permissible to > break POLA. switching from short form to long form is more than a POLA.. short form has a specific fixed layout and feeding a long form string into it will break things. > >> Set LC_TIME to C and then you are back on your behaviour (and this is the >> default when you install FreeBSD). >> >> locales should be seen as tzdata for exemple, they are a moving target >> complicated to handle for every locale we do support: 78 for 11.0-RELEASE and >> 193 if we do count the encoding variants. locales are updated very often (for >> exemple cldr unicode make a new release of the data every 8 month or so) > As I understand it, your change will improve the maintainability of > locales in FreeBSD in the future, which justifies a POLA break at the > release boundary. > > -Ben > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >