From owner-freebsd-current@freebsd.org Thu May 26 14:44:32 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 DAE13B4B5B1 for ; Thu, 26 May 2016 14:44:32 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from smtp.vangyzen.net (hotblack.vangyzen.net [199.48.133.146]) by mx1.freebsd.org (Postfix) with ESMTP id 7857D1215; Thu, 26 May 2016 14:44:32 +0000 (UTC) (envelope-from vangyzen@FreeBSD.org) Received: from sweettea.beer.town (unknown [76.164.8.130]) by smtp.vangyzen.net (Postfix) with ESMTPSA id 617F6564D2; Thu, 26 May 2016 09:44:26 -0500 (CDT) To: freebsd-current@FreeBSD.org, bapt@freebsd.org From: Eric van Gyzen Subject: Date formatting with en_US locale Cc: Hajimu UMEMOTO Message-ID: <499d8ddd-06c8-5184-68cb-4be19764b318@FreeBSD.org> Date: Thu, 26 May 2016 09:44:25 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 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: Thu, 26 May 2016 14:44:33 -0000 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=en_US.ISO8859-1 LANG=en_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 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)? Thanks for your input, Eric