From owner-freebsd-current@freebsd.org Thu May 26 14:49:51 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 CE2F1B4B752 for ; Thu, 26 May 2016 14:49:51 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-lf0-x22f.google.com (mail-lf0-x22f.google.com [IPv6:2a00:1450:4010:c07::22f]) (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 68CD9169A; Thu, 26 May 2016 14:49:51 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-lf0-x22f.google.com with SMTP id k98so33664429lfi.1; Thu, 26 May 2016 07:49:51 -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=qir7sLFmG3GkZVY391V783rP4BsRI0Uz93sqdV/kcUo=; b=UVUGEdSPXJ62u4TK/X9k2g+dugdOh1d/uSdfiPTzveC81aCq+AWcMvxinR4irUUvT9 5svQ09ItCYc9WCBrd+eBQIeKyKS1xoec1y6zqNzpDEwdHAiZ4uxj+oxUFfYUL8kVwQKe rXVttJDsQ4kXMLWFQ9YfgIl+kViM6GGb6HVSGoSEcn3LLr72jvkLKQkzb7wFESNy0Cip DQIItJPNXMl6Abi7pz/LixAA7hYyVZewBPMlOYqm3/o7v1qkA3rB1Jz5DHqR3pJgOQ0D viaL7Oqaaa8UkM4rpCpiv/09f1xMee89nSRO6AVQ/19mXtFgLRZW7Qv6e92Gi3cC8Ttf QX+w== 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=qir7sLFmG3GkZVY391V783rP4BsRI0Uz93sqdV/kcUo=; b=P5UY80YRhFhPE6wC7u0D6rUiygdV/pnqw2502mD7GF+wpP6c1kftU+Vz6m1csXgMp9 J3dWwASIOUgWLjkN7sufl7M3fg+Ue/fC8uFliw+/yfHxwPk2eXAtFI7vExGdJWFwNXzy mvtvd/tmcKmJ37JKK6wVZeR+fWGPbl0zOmwYZiKO48A/cKJrr3dwNVDpCNQMxvs7WsO+ 6+2TbWd6k2W60daTenKwJUcwTgiQxeMgn4EtQl9C6LTGvOfnCrFFKyBnxKXKJRjYLDkB FNvttZHAGmEOikLlylFKR3RDY2qJJDEFeI+cMoSZcarGHXNt9ykQhHdBHfSsPRoUe+6J FDXg== X-Gm-Message-State: ALyK8tLBOxfqRQFl0tJipjh/NIJiZ1riEFeeRZ08if2jjGq5V9EnlRS1Apqc3+5K8M3BZw== X-Received: by 10.25.19.223 with SMTP id 92mr2637680lft.147.1464274189357; Thu, 26 May 2016 07:49:49 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id 80sm98272lja.37.2016.05.26.07.49.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 26 May 2016 07:49:48 -0700 (PDT) Sender: Baptiste Daroussin Date: Thu, 26 May 2016 16:49:44 +0200 From: Baptiste Daroussin To: Eric van Gyzen Cc: freebsd-current@FreeBSD.org, Hajimu UMEMOTO Subject: Re: Date formatting with en_US locale Message-ID: <20160526144944.GD977@ivaldir.etoilebsd.net> References: <499d8ddd-06c8-5184-68cb-4be19764b318@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="a2FkP9tdjPU2nyhF" Content-Disposition: inline In-Reply-To: <499d8ddd-06c8-5184-68cb-4be19764b318@FreeBSD.org> 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 May 2016 14:49:51 -0000 --a2FkP9tdjPU2nyhF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, May 26, 2016 at 09:44:25AM -0500, Eric van Gyzen wrote: > Baptiste and -current, >=20 > I noticed two annoyances with date formatting on head, and I wonder how > we can fix them. >=20 > I have these settings: >=20 > LC_ALL=3Den_US.ISO8859-1 > LANG=3Den_US.ISO8859-1 >=20 > First, Thunderbird displays the date as, for example: >=20 > 03/ 6/16 ... >=20 > 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.) >=20 > Second, date(1) no longer shows the day-of-week: >=20 > $ date > March 26, 2016 at 09:21:55 AM CDT >=20 > 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. >=20 > Of course, I can fix these locally, but I wonder how we can fix them for > 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)? >=20 > Thanks for your input, I can hack cldr2def.pl to readd the week of day as it was before for 11.0 s= till 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 --a2FkP9tdjPU2nyhF Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXRwzQAAoJEGOJi9zxtz5avfsQAJeTtPB/PwAul/MPL2+JiAqr fUFSa4MIu8KKtkSlLcOCUuVx/asErfpE/ZDjr/ATAZ7LXnskl8GUk21kI2VvvKIj YF46kNyNtDW1zTr8jURJUpbQyOTpMHub8EHOxpCcdY3hLD2mEzYk3ZtR84j/WvWn 2vi3r3hMeozddQb1IMs/wRnIZ/6noo8oItkge8gCgy8lzjABlOP1vOhMZcol58Wa peuBwGg+QKrVB6IOKSt9/8TKk5+OHIKShdmcR4nGqyFSSTTjAPd54ToShi4YaFyx lEoT65Ld5yZH+mL7Ay3FFxiHTGMgLvVWgAGC/lG0vhVx7AfLHIB68gg4HWrfnuh2 /hjt+beX79H9tx1J6LkC4J23XAs5951O/NqmLIofWwGtsp4f6DjwgFjCu6UDMCe6 xd9+A/fQEkJNxtBbGMEI2wyIvqes2P+Slr/YqIHGYGSL3ZhUMnAzrOKoKUVfT5am PIbE8g/JOOQL0iLMGSTKlQpIfkl8/3+6+S6oXh5tb2nI7U/GWLdaQOmlUX0WtG7U uCHmESEXPGhOIZHWeXF1tsQ2r8UKgwtKzXhLDY1sCcFPk0OoPfL6oIKErYBJDFB8 u2diM6MmMEMjPuAOGt9d5xwVfXpULO1hhKVSwt2ECHsWJuAy+8XcL+t6ykmQOqp4 hYk4MYcWMbBZ9Z0fXIkQ =CwDY -----END PGP SIGNATURE----- --a2FkP9tdjPU2nyhF--