Show time in future

This commit is contained in:
Anton Vakhrushev 2019-10-08 17:26:55 +03:00
parent 60f4c1aad0
commit bc57cae1e1

View File

@ -38,7 +38,9 @@ end
def render_time(ts)
t = Time.unix(ts).in(Time::Location.load("Europe/Moscow"))
t.to_s("%H:%M:%S")
# It's future, baby
t += 200.years
t.to_s("%Y-%m-%d %H:%M:%S")
end
def render_map(world)