[tor-bugs] #21921 [Applications/Tor Messenger]: Tor Messenger unable to change date/time format in chat

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Apr 12 07:39:36 UTC 2017


#21921: Tor Messenger unable to change date/time format in chat
--------------------------------------------+-----------------
     Reporter:  cypherpunks                 |      Owner:
         Type:  defect                      |     Status:  new
     Priority:  Medium                      |  Milestone:
    Component:  Applications/Tor Messenger  |    Version:
     Severity:  Normal                      |   Keywords:
Actual Points:                              |  Parent ID:
       Points:                              |   Reviewer:
      Sponsor:                              |
--------------------------------------------+-----------------
 * Tor Messenger Version: "0.4.0b2 (based on Instantbird 1.6a1pre)"

 * Platform: linux x64

 # Expected behavior:

 Set ISO date format in chat display. Date `%Y-%m-%d`, time `%H:%M:%S`. NO
 "AM"/"PM"!

 # Actual behavior:

 American-style date/time with AM/PM, etc. See attached screenshot. Note,
 screenshot is of view in settings; but it is consistent with what is seen
 in an actual chat (private, will not screenshot!).

 # Attempted fixes:

 * Customize system date/time format, with distro-provided luser GUI.

 * Set environment `$LC_ALL` and `$LC_TIME` to `en_DK`, `en_DK.UTF-8`

 * `localectl set-locale LANG=en_DK.UTF-8`

 * `gsettings set org.gnome.system.locale region en_DK.UTF-8`

 * Mash random stuff in Tor Messenger's `about:config` style widget
 (probably broke something)

 * `LC_ALL=en_DK.utf8 ./start-tor-messenger.desktop --UILocale en_DK.utf8`

 * Try all of the above with both `en_DK.UTF-8` and `en_DK.utf8`, because:

 `user at host:~/tor-messenger$ locale -a | grep en_DK`
 `en_DK`
 `en_DK.iso885915`
 `en_DK.utf8`

 * Ask `$SEARCH_ENGINE` for help.

 * `tar -xf` a fresh tor-messenger, with empty profile, after all the
 above.

 * Punch mattress, scream curse words into pillow.

 * Get lobotomy to make me like AM/PM (still did not take; NO ME GUSTA).

 Note: Setting this kind of thing on Linux is somehow always a mess. Please
 either respect `$LC_ALL`, `$LC_TIME`, etc., or at least grow a kludgey
 about:config setting which takes a `strftime(3)` format string. Thanks.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/21921>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list