Date: Thu, 26 May 2016 16:49:44 +0200 From: Baptiste Daroussin <bapt@freebsd.org> To: Eric van Gyzen <vangyzen@FreeBSD.org> Cc: freebsd-current@FreeBSD.org, Hajimu UMEMOTO <ume@FreeBSD.org> Subject: Re: Date formatting with en_US locale Message-ID: <20160526144944.GD977@ivaldir.etoilebsd.net> In-Reply-To: <499d8ddd-06c8-5184-68cb-4be19764b318@FreeBSD.org> References: <499d8ddd-06c8-5184-68cb-4be19764b318@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] 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=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, I can hack cldr2def.pl to readd the week of day as it was before for 11.0 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 [-- Attachment #2 --] -----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-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160526144944.GD977>
