Timeline for How can I change the default date format (using LC_TIME)?
Current License: CC BY-SA 4.0
16 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 16, 2022 at 6:02 | comment | added | Smart Manoj | @muru pre-compiled github.com/telegramdesktop/tdesktop/releases/tag/v4.4.1 | |
| Dec 15, 2022 at 15:21 | comment | added | muru | @SmartManoj what does that mean? You compiled it from source? Or is it a prebuilt flatpak or appimage or something? | |
| Dec 15, 2022 at 14:36 | comment | added | Smart Manoj | @muru Github version | |
| Dec 14, 2022 at 13:09 | comment | added | muru | @SmartManoj is it a snap? | |
| Dec 14, 2022 at 10:25 | comment | added | Smart Manoj | @muru This change works for date command but not for Telegram desktop. But Telegram desktop shows 24 hour format with locale C. | |
| Mar 18, 2019 at 4:48 | vote | accept | Gowtham | ||
| Aug 13, 2018 at 13:41 | comment | added | Gowtham |
locate LC_TIME gives /usr/lib/locale/C.UTF-8/LC_TIME does this mean I need to modify C in locales??
|
|
| Aug 13, 2018 at 8:05 | comment | added | Gowtham | Let us continue this discussion in chat. | |
| Aug 13, 2018 at 7:47 | comment | added | Gowtham | then it should work ... I Will check what's wrong and get back.. | |
| Aug 13, 2018 at 7:41 | comment | added | muru | @Goron on Docker images of 17.04, 17.10 and 18.04. | |
| Aug 13, 2018 at 7:38 | comment | added | Gowtham | Ok @muru .. You tried in Ubuntu server 18? | |
| Aug 13, 2018 at 7:34 | comment | added | muru | Hmm, then I have no idea. I just tried out what you did in a fresh docker container and had no problems. :/ | |
| Aug 13, 2018 at 7:15 | comment | added | Gowtham |
I have edited the /usr/share/i18n/locales/en_US please check and confirm... or should I edit d_t_fmt "%a %d %b %Y %r %Z" line?...
|
|
| Aug 13, 2018 at 7:08 | comment | added | muru |
@Goron where in /usr/share/i18n/locales/en_US did you add date_fmt? Please edit the question to add more details.
|
|
| Aug 13, 2018 at 7:06 | comment | added | Gowtham |
Thanks for the answer @muru.. I have done the same way as you said. But still i get the same format as before.. #date Mon Aug 13 06:40:12 UTC 2018 # cat en_US | grep date_fmt date_fmt "%F %Z" # locale-gen en_US.UTF-8 Generating locales (this might take a while)... en_US.UTF-8... done Generation complete. # env LC_TIME=en_US.UTF-8 date Mon Aug 13 06:48:44 UTC 2018 ... Am I missing anything?..
|
|
| Aug 13, 2018 at 6:28 | history | answered | muru | CC BY-SA 4.0 |