paulgorman.org

< ^ txt

Mon Jul 8 09:01:22 EDT 2019 Slept from eleven to seven. Woke briefly around three. High of eighty-five and sunny today. Work: - Update workstation to new Debian stable Done. - Work on leasing desktop build Done. Got into work a few minutes early. Hmm, after updating from Stretch to Buster, my default `date` output changed. Before: `Mon Jul 8 09:01:09 EDT 2019`. After: `Mon 08 Jul 2019 12:12:40 PM EDT`. Did my locale change?? No: ``` --- falstaff ~ % cat /etc/default/locale # File generated by update-locale LANG="en_US.UTF-8" --- falstaff ~ % cat /etc/timezone America/Detroit ``` I asked on freenode #debian. ``` <petn-randall> paulgrmn: Probably because there was an update to the timezone data. <petn-randall> paulgrmn: Which will likely also end up in oldstable, just a little later <BCMM> $LC_TIME controls date's default format, right? ``` Hmm. ``` --- falstaff ~ % cat /etc/timezone ; date ; env LC_TIME=America/Detroit date America/Detroit Mon 08 Jul 2019 12:46:02 PM EDT Mon Jul 8 12:46:02 EDT 2019 --- falstaff ~ % date ; env LC_TIME=en_US.utf8 date ; env LC_TIME=LC_TIME=en_GB.utf8 date Mon 08 Jul 2019 12:53:28 PM EDT Mon 08 Jul 2019 12:53:28 PM EDT Mon Jul 8 12:53:28 EDT 2019 --- falstaff ~ % locale | grep LC_TIME LC_TIME="en_US.utf8" ``` ``` <greycat> paulgrmn: buster's locale definitions change <BCMM> fwiw, i get paulgrmn's first format with LC_TIME=en_GB.utf8 date, and the second format with LC_TIME=en_US.utf8 date <greycat> paulgrmn: I did this <https://www.mail-archive.com/debian-user@lists.debian.org/msg741047.html> ``` Indeed. Now I know to not assume the date format for a particular locale won't change. Specify the format if it matters, like: `date +'%a %d %b %Y %H:%M:%S %Z'` Twenty-minute walk at lunch. Saw a woodchuck, a couple dragonflies, and a red admiral butterfly. https://github.com/sparrc/go-ping Good notes on Wireguard: https://github.com/pirate/wireguard-docs Worked late. Home: Read more of the Three Body Problem, which I started last night. Engaging. It doesn't noticeably suffer from being a translations. Surprising that Cultural Revolution chapters apparently were published in China too. Servings: grains 6/6, fruit 3/4, vegetables 3/4, dairy 5/2, meat 4/3, nuts 0/0.5 Brunch: omelet, tomato, cucumber, Mandarin, banana Lunch: yogurt, Mandarin, carrots Afternoon snack: coffee Dinner: pizza 108/68

< ^ txt