[tor-commits] [atlas/master] Add timezone to data publication times (Fixes: #24788)

irl at torproject.org irl at torproject.org
Fri Jan 5 16:43:51 UTC 2018


commit 7adac091fb100ddcdb67aa9b9cf803dc1c1d120b
Author: Iain R. Learmonth <irl at fsfe.org>
Date:   Fri Jan 5 13:13:19 2018 +0000

    Add timezone to data publication times (Fixes: #24788)
---
 templates/aggregate/search.html | 2 +-
 templates/details/bridge.html   | 2 +-
 templates/details/router.html   | 2 +-
 templates/search/do.html        | 4 ++--
 4 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/templates/aggregate/search.html b/templates/aggregate/search.html
index 774d393..f8f364e 100644
--- a/templates/aggregate/search.html
+++ b/templates/aggregate/search.html
@@ -118,6 +118,6 @@ Tor network. It provides insight into diversity in the network and the
 probabilities of using relays in a particular country or AS as a guard, middle
 or exit relay. The results are restricted to only relays that were running at
 the last time the relays data was updated and do not include bridge data.</p>
-<p>Information for relays was published: <%= relaysPublished %>.<p>
+<p>Information for relays was published: <%= relaysPublished %> UTC.<p>
 <% } %>
 </div>
diff --git a/templates/details/bridge.html b/templates/details/bridge.html
index 66fa8c1..a619731 100644
--- a/templates/details/bridge.html
+++ b/templates/details/bridge.html
@@ -200,5 +200,5 @@
         </div>
     </div>
   </div>
-<p>Information for bridges was published: <%= relay.get('bridgesPublished') %>.</p>
+<p>Information for bridges was published: <%= relay.get('bridgesPublished') %> UTC.</p>
 
diff --git a/templates/details/router.html b/templates/details/router.html
index 4517aae..a10f7e7 100644
--- a/templates/details/router.html
+++ b/templates/details/router.html
@@ -288,4 +288,4 @@
 
 </div><!-- container-fluid -->
 
-<p>Information for relays was published: <%= relay.get('relaysPublished') %>.</p>
+<p>Information for relays was published: <%= relay.get('relaysPublished') %> UTC.</p>
diff --git a/templates/search/do.html b/templates/search/do.html
index 7f98106..e0dadfd 100644
--- a/templates/search/do.html
+++ b/templates/search/do.html
@@ -124,8 +124,8 @@ family size for the relay including the relay itself. A size of 1 indicates
 that the relay does not have any other effective family members. Note that
 bridge relays do not advertise family members in their descriptors and so there
 is no value shown for bridge relays.</p>
-<p>Information for relays was published: <%= relaysPublished %>.<br>
-Information for bridges was published: <%= bridgesPublished %>.</p>
+<p>Information for relays was published: <%= relaysPublished %> UTC.<br>
+Information for bridges was published: <%= bridgesPublished %> UTC.</p>
 <% } %>
 </div>
 





More information about the tor-commits mailing list