From c6309ab2f3df23e8f85c5b27b94734c19a99af39 Mon Sep 17 00:00:00 2001 From: Katharina Fey Date: Sun, 8 Sep 2019 11:41:21 +0100 Subject: Adding zone info to time string --- timestring.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/timestring.rb b/timestring.rb index 29c2dee..21996d7 100644 --- a/timestring.rb +++ b/timestring.rb @@ -71,8 +71,10 @@ class TimeString end end def to_s + # This code always requires to be run on a UTC system, + # which dudle.open-communication.net is if @time - "#{CGI.escapeHTML(@date.to_s)} #{time_to_s}" + "#{CGI.escapeHTML(@date.to_s)} #{time_to_s} (UTC)" else CGI.escapeHTML(@date.to_s) end -- cgit v1.2.3