[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [atlas/master] Tweak the new tooltips a tiny bit.



commit 63d4bec695623b2237f20ce6bf55e88b5c69be7c
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Wed Mar 13 16:09:38 2013 +0100

    Tweak the new tooltips a tiny bit.
---
 js/views/details/main.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/js/views/details/main.js b/js/views/details/main.js
index 913bcbe..6d48f89 100644
--- a/js/views/details/main.js
+++ b/js/views/details/main.js
@@ -36,8 +36,6 @@ define([
                 .append("g")
                 .attr("transform",
                     "translate(" + margin.left + "," + margin.top + ")");
-            svg.append("svg:title")
-                .text("Graph");
 
             /* Define scales to convert domain values to pixels. */
             var xExtents = d3.extent(d3.merge(data), function(d) {
@@ -110,7 +108,7 @@ define([
 
             var datetimeFormat = function(seconds) {
               var date = new Date(seconds);
-              return d3.time.format("%H:%M %Y-%m-%e")(date);
+              return d3.time.format("%Y-%m-%d %H:%M")(date);
             }
 
             var tooltip = d3.select("body").append("div")



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits