Dear Mike and glib-2.0 maintainers, I've tried few combination of LC_TIME and LANG with my glibtest snippet. Date still displayed in en_US despite all combination I've tried (LANG=th_TH.tis-620, LANG=th_TH.utf-8, LC_ALL=th_TH.tis-620, LC_ALL=th_TH.utf-8, LC_TIME=th_TH).
But I've found that even with LC_ALL=en_US and LANG=en_US time is still displayed in 24-hour (th_TH) format; see the last case. Combination of LC_ALL=th_TH.tis-620 with LANG=th_TH.tis-620: $ locale LANG=th_TH.tis-620 LANGUAGE= LC_CTYPE="th_TH.tis-620" LC_NUMERIC="th_TH.tis-620" LC_TIME="th_TH.tis-620" LC_COLLATE="th_TH.tis-620" LC_MONETARY="th_TH.tis-620" LC_MESSAGES="th_TH.tis-620" LC_PAPER="th_TH.tis-620" LC_NAME="th_TH.tis-620" LC_ADDRESS="th_TH.tis-620" LC_TELEPHONE="th_TH.tis-620" LC_MEASUREMENT="th_TH.tis-620" LC_IDENTIFICATION="th_TH.tis-620" LC_ALL=th_TH.tis-620 $ date +%x 29/12/2557 $ date +%X 12:20:07 $ ./glibtest <span size="xx-large" weight="ultrabold">12:20:12</span> <span size="large">12/29/14</span> $ Combination of LC_ALL=th_TH.utf-8 with LANG=th_TH.utf-8: $ locale LANG=th_TH.utf-8 LANGUAGE= LC_CTYPE="th_TH.utf-8" LC_NUMERIC="th_TH.utf-8" LC_TIME="th_TH.utf-8" LC_COLLATE="th_TH.utf-8" LC_MONETARY="th_TH.utf-8" LC_MESSAGES="th_TH.utf-8" LC_PAPER="th_TH.utf-8" LC_NAME="th_TH.utf-8" LC_ADDRESS="th_TH.utf-8" LC_TELEPHONE="th_TH.utf-8" LC_MEASUREMENT="th_TH.utf-8" LC_IDENTIFICATION="th_TH.utf-8" LC_ALL=th_TH.utf-8 $ date +%x 29/12/2557 $ date +%X 12:27:47 $ ./glibtest <span size="xx-large" weight="ultrabold">12:27:52</span> <span size="large">12/29/14</span> $ Combination of LC_TIME=th_TH with everying else (together with LANG) in en_US: $ locale LANG=en_US LANGUAGE= LC_CTYPE=en_US LC_NUMERIC=en_US LC_TIME=th_TH LC_COLLATE=en_US LC_MONETARY=en_US LC_MESSAGES=en_US LC_PAPER=en_US LC_NAME=en_US LC_ADDRESS=en_US LC_TELEPHONE=en_US LC_MEASUREMENT=en_US LC_IDENTIFICATION=en_US LC_ALL= $ date +%x 29/12/2557 $ date +%X 11:55:02 $ ./glibtest <span size="xx-large" weight="ultrabold">11:55:07</span> <span size="large">12/29/14</span> $ Combination of LC_TIME=th_TH and LANG=th_TH with everying else in en_US: $ locale LANG=th_TH LANGUAGE= LC_CTYPE=en_US LC_NUMERIC=en_US LC_TIME=th_TH LC_COLLATE=en_US LC_MONETARY=en_US LC_MESSAGES=en_US LC_PAPER=en_US LC_NAME=en_US LC_ADDRESS=en_US LC_TELEPHONE=en_US LC_MEASUREMENT=en_US LC_IDENTIFICATION=en_US LC_ALL= $ date +%x 29/12/2557 $ date +%X 11:58:16 $ ./glibtest <span size="xx-large" weight="ultrabold">11:58:19</span> <span size="large">12/29/14</span> $ Combination of LC_ALL=en_US with LANG=th_TH.tis-620: $ locale LANG=th_TH.tis-620 LANGUAGE= LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE="en_US" LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=en_US $ date +%x 12/29/2014 $ date +%X 11:35:18 AM $ ./glibtest <span size="xx-large" weight="ultrabold">11:35:35</span> <span size="large">12/29/14</span> $ Combination of LC_ALL=en_US with LANG=th_TH.utf-8: $ locale LANG=th_TH.utf-8 LANGUAGE= LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE="en_US" LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=en_US $ date +%x 12/29/2014 $ date +%X 11:38:19 AM $ ./glibtest <span size="xx-large" weight="ultrabold">11:38:24</span> <span size="large">12/29/14</span> $ Combination of LC_ALL=en_US with LANG=en_US: $ locale LANG=en_US LANGUAGE= LC_CTYPE="en_US" LC_NUMERIC="en_US" LC_TIME="en_US" LC_COLLATE="en_US" LC_MONETARY="en_US" LC_MESSAGES="en_US" LC_PAPER="en_US" LC_NAME="en_US" LC_ADDRESS="en_US" LC_TELEPHONE="en_US" LC_MEASUREMENT="en_US" LC_IDENTIFICATION="en_US" LC_ALL=en_US $ date +%x 12/29/2014 $ date +%X 01:03:42 PM $ ./glibtest <span size="xx-large" weight="ultrabold">13:03:48</span> <span size="large">12/29/14</span> $ This last case is a quite interesting, since I specified all en_US locale, but time is still displayed as 24-hour clock (th_TH) rather than 12-hour clock with AM/PM (en_US). Note: "th_TH" is an alias of "th_TH.tis-620". Regards, Nachanon P.S. These are tested by overriding locale using environment variable. My default system-wide locale (specified in /etc/default/locale) is: LANG=th_TH LC_CTYPE="th_TH" LC_NUMERIC="th_TH" LC_TIME="th_TH" LC_COLLATE="th_TH" LC_MONETARY="th_TH" LC_MESSAGES="en_US" LC_PAPER="th_TH" LC_NAME="th_TH" LC_ADDRESS="th_TH" LC_TELEPHONE="th_TH" LC_MEASUREMENT="th_TH" LC_IDENTIFICATION="th_TH" LC_ALL= -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org