[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 16:48:04 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                      |     Resolution:
 Keywords:                              |  Actual Points:
Parent ID:                              |         Points:
 Reviewer:                              |        Sponsor:
----------------------------------------+---------------------

Comment (by arlolra):

 Sorry for the pain.

 Looking at this briefly, the template is hardcoded in,
 https://github.com/mozilla/releases-comm-
 central/blob/master/im/themes/messages/simple/Status.html

 And it gets filled by `date.toLocaleTimeString()`,
 https://github.com/mozilla/releases-comm-
 central/blob/master/chat/modules/imThemes.jsm#L360-L365
 https://developer.mozilla.org/en-
 US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString

 There're probably a few configs preventing this from getting set from the
 system, such as,

 {{{
 intl.locale.matchOS;false
 javascript.use_us_english_locale;true
 privacy.use_utc_timezone;false
 }}}

 but that's still to be investigated.

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


More information about the tor-bugs mailing list