From owner-freebsd-current@freebsd.org  Thu May 26 15:15:14 2016
Return-Path: <owner-freebsd-current@freebsd.org>
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 15CCAB4B056
 for <freebsd-current@mailman.ysv.freebsd.org>;
 Thu, 26 May 2016 15:15:14 +0000 (UTC)
 (envelope-from baptiste.daroussin@gmail.com)
Received: from mail-lf0-x230.google.com (mail-lf0-x230.google.com
 [IPv6:2a00:1450:4010:c07::230])
 (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 8C8141B7E
 for <freebsd-current@freebsd.org>; Thu, 26 May 2016 15:15:13 +0000 (UTC)
 (envelope-from baptiste.daroussin@gmail.com)
Received: by mail-lf0-x230.google.com with SMTP id w16so21781510lfd.2
 for <freebsd-current@freebsd.org>; Thu, 26 May 2016 08:15:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=sender:date:from:to:cc:subject:message-id:references:mime-version
 :content-disposition:in-reply-to:user-agent;
 bh=tjUZsYoiFd8wzouWABi7e9Olxj7NQqcDI7TkYd+Jqqo=;
 b=Ljp5fdBHLOzTDLnl+6ojffEwdxebZ20FhWoRa2E6ElrVvOcPmlo53BCvh6JHK9AIsi
 /NxJDfLBy9777xF+dIF+bj8WuJ0NB5hlESDKcusYmZfqmqkM5GtJfXE5ASepyxkQ5T2a
 /GQtB5q6Ha9fBMbZj/KNQpaczV3+Bo9+4ip6dbB6e4PwSpI5DKj5SC50fXQnttSzfl7I
 uIIYmGbOyni15ARKDZmcwK4EGRtRVJ7LZ6DGEty3/Vpm9v4qIb9KOibBlvZdtbhA7+Ts
 N9TpoKv/7f2x0f6Xu8a7tHoa+gYoBsAyy3mpEnORE4+rRx4D6HWqHjbQvgcKmXN351yv
 H7ow==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:sender:date:from:to:cc:subject:message-id
 :references:mime-version:content-disposition:in-reply-to:user-agent;
 bh=tjUZsYoiFd8wzouWABi7e9Olxj7NQqcDI7TkYd+Jqqo=;
 b=ZS/RJX2FKXmnNKvF+UCz9fdAVRlya3LcbaAmdYPuVRImn+KBv/OhHiKSHYG9x5+MHB
 kCCwHszXZj/xxh1Fki6s/hWBJg+unJKciUkUUfXjJscMwfuqfk3AbNJNqwIe8ZiyjCQQ
 fA+tM6haj/xH4X8nD25qconYc6ZPoGBjFfY6O1WAms3+4lAFAdI1tX8+gfXZTuawRGip
 UzZNf7q8nibffdTF/TUS/7TfvR87D6I66dDdsvRjGMnrASXe6oqNqEF1w2vT2Zam406n
 McrFyvVY7ErLscuN2gUDAb0a2yuKioOpnMNYjAmUwLfPc1MUIk/CVs/2LKc1pb+av5gJ
 V40Q==
X-Gm-Message-State: ALyK8tKAN1F+enEiArsX2xSCYu5vTsqRXbjz8F0B4NecSPgYXRU3pUAhpq3IUFQSdx81BA==
X-Received: by 10.25.206.205 with SMTP id e196mr2979064lfg.182.1464275711785; 
 Thu, 26 May 2016 08:15:11 -0700 (PDT)
Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1])
 by smtp.gmail.com with ESMTPSA id 194sm105855ljj.47.2016.05.26.08.15.10
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 26 May 2016 08:15:10 -0700 (PDT)
Sender: Baptiste Daroussin <baptiste.daroussin@gmail.com>
Date: Thu, 26 May 2016 17:15:08 +0200
From: Baptiste Daroussin <bapt@FreeBSD.org>
To: =?iso-8859-1?Q?Otac=EDlio?= <otacilio.neto@bsd.com.br>
Cc: freebsd-current@freebsd.org
Subject: Re: Date formatting with en_US locale
Message-ID: <20160526151508.GE977@ivaldir.etoilebsd.net>
References: <499d8ddd-06c8-5184-68cb-4be19764b318@FreeBSD.org>
 <20160526144944.GD977@ivaldir.etoilebsd.net>
 <e096b663-ed6b-3211-4559-74ddcf54050a@bsd.com.br>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature"; boundary="JBi0ZxuS5uaEhkUZ"
Content-Disposition: inline
In-Reply-To: <e096b663-ed6b-3211-4559-74ddcf54050a@bsd.com.br>
User-Agent: Mutt/1.6.1 (2016-04-27)
X-BeenThere: freebsd-current@freebsd.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: Discussions about the use of FreeBSD-current
 <freebsd-current.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-current/>
List-Post: <mailto:freebsd-current@freebsd.org>
List-Help: <mailto:freebsd-current-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-current>, 
 <mailto:freebsd-current-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 26 May 2016 15:15:14 -0000


--JBi0ZxuS5uaEhkUZ
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, May 26, 2016 at 11:55:08AM -0300, Otac=EDlio wrote:
> Em 26/05/2016 11:49, Baptiste Daroussin escreveu:
> > On Thu, May 26, 2016 at 09:44:25AM -0500, Eric van Gyzen wrote:
> >> Baptiste and -current,
> >>
> >> I noticed two annoyances with date formatting on head, and I wonder how
> >> we can fix them.
> >>
> >> I have these settings:
> >>
> >>      LC_ALL=3Den_US.ISO8859-1
> >>      LANG=3Den_US.ISO8859-1
> >>
> >> First, Thunderbird displays the date as, for example:
> >>
> >>      03/ 6/16 ...
> >>
> >> The leading space on the day (6) looks weird.  I might even say it's
> >> simply wrong.  Zero-padding would better.  (/No/ padding would be best,
> >> but I don't think strftime supports that.)
> >>
> >> Second, date(1) no longer shows the day-of-week:
> >>
> >>      $ date
> >>      March 26, 2016 at 09:21:55 AM CDT
> >>
> >> For many years, I have been typing "date" to see the day-of-week (and
> >> other things).  I like the new human-friendly format, but I miss the
> >> day-of-week.
> >>
> >> Of course, I can fix these locally, but I wonder how we can fix them f=
or
> >> everyone.  I see that the formats come from CLDR.  I also see that ume@
> >> restored the day-of-week for ja_JP in r292512.  Is this the best
> >> approach, or should we try to get them changed upstream (CLDR)?
> >>
> >> Thanks for your input,
> > I can hack cldr2def.pl to readd the week of day as it was before for 11=
=2E0 still
> > the best approach is to push the change upstream.
> >
> > I will have a look at the cldr2def.pl hack this week end.
> >
> > Best regards,
> > Bapt
>=20
> LANG=3Dpt_BR.UTF-8
>=20
> MM_CHARSET=3DUTF-8
>=20
By adding the hack I mean to do it for all locales not cherry picking

Best regards,
Bapt

--JBi0ZxuS5uaEhkUZ
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXRxL8AAoJEGOJi9zxtz5ahGgQAIuFVVFFA9FgS84CB0ZunceI
A7AUrmXGJWoCvumrJNCzcirlApkQxiLFk6INBqT/l2MkpnWm40w8YHNvQIniyWpy
UCMjXxcdbpzLLS6k9VQCIBHEzVHCpo+RHszbpeqAjhFgCuLcCg7RD59pyP6jEIWJ
LqV+BK9b+zMGuB2iwpY13T0j5GqSwXGn6bXUveHTJmEdbUOBjpwFCb//rVjvDgF9
OKIzbdv5yuvipjEjQWdJN2oestnk7+OVbO6EFrlvm4zHXS3X+D3plkJWyvZCwCx8
iQbx6lU84sdef14xXzycTh7sFi3mMIDfIkBcm0+DUBJvoBlpSmPta1W3n3UZbkZD
TCbxCG1jvmTmBrFc8KS0ZKHX1KX6ki7ZZuaDGXBTVSe2c+PFyA3ivaLxER9c+jzA
ZEXvYEiV9RKt3v5PAlIIqgqoHXmT+aB+KN8Lllk5QEWI4NHkdrqjJj35uZpBgyPL
9t8BRnm3GdRcpfTYSok0cSYwX/lMPt39Fosh9U94LEF8q22iv1mA2rWMxoYLLKj7
2XQoIAD9W8GGmMaoxRf/7mYbpUKZLLaRlcNiuRLVXW1nbXV5Wex/PfXs4MoF/JUR
w9hDO4Uw8PMNMo+o8hRRGa6Uu+cQloSHxye9YDLitExvenxI4T3pYDJ0wCRRRljV
mjeH1cPgBm4lMXHGkPJZ
=Htic
-----END PGP SIGNATURE-----

--JBi0ZxuS5uaEhkUZ--