[tor-bugs] #27039 [Metrics/Onionoo]: Timestamps in graph history documents are incorrectly formatted (was: Relay Search graphs missing)

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue Aug 7 11:34:39 UTC 2018


#27039: Timestamps in graph history documents are incorrectly formatted
-----------------------------+--------------------------
 Reporter:  starlight        |          Owner:  irl
     Type:  defect           |         Status:  accepted
 Priority:  High             |      Milestone:
Component:  Metrics/Onionoo  |        Version:
 Severity:  Normal           |     Resolution:
 Keywords:                   |  Actual Points:
Parent ID:                   |         Points:
 Reviewer:                   |        Sponsor:
-----------------------------+--------------------------
Changes (by irl):

 * priority:  Medium => High
 * component:  Metrics/Relay Search => Metrics/Onionoo


Old description:

> maintenance or a problem?  No graphs at time of ticket.

New description:

 Timestamps in graph history documents are being served as ints (maybe unix
 timestamps) instead of YYYY-MM-DD hh:mm:ss format.

 This has the result of breaking Relay Search's graphs and also of breaking
 the t-shirt script.

--

Comment:

 I think it's possible that the getter is being used instead of the
 variable, which parses the String to return a long.

 https://gitweb.torproject.org/onionoo.git/tree/src/main/java/org/torproject/onionoo/docs/GraphHistory.java#n16

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


More information about the tor-bugs mailing list