[metrics-bugs] #24532 [Metrics/Website]: Make metrics-web runs independant of server locale

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Dec 5 19:16:25 UTC 2017

#24532: Make metrics-web runs independant of server locale
     Reporter:  iwakeh           |      Owner:  metrics-team
         Type:  defect           |     Status:  new
     Priority:  Medium           |  Milestone:
    Component:  Metrics/Website  |    Version:
     Severity:  Normal           |   Keywords:
Actual Points:                   |  Parent ID:
       Points:                   |   Reviewer:
      Sponsor:                   |
 metrics-web script runs expect numbers formatted using the US locale.
 Java output is currently server locale dependent.
 This affects mostly those of the roughly fifty 'String.format' calls that
 format numbers.  Maybe, more.

 Ideally, the java code should provide the correct output independent of
 the environments locale.

 (Quick fix as applied in #24175: set locale on the java command line.)

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

More information about the metrics-bugs mailing list