Skip to content

Commit

Permalink
add method name to timezone.time call 😳 πŸ™ƒ
Browse files Browse the repository at this point in the history
  • Loading branch information
chee committed Sep 3, 2016
1 parent 2327f9b commit d878458
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.rb
Expand Up @@ -32,7 +32,7 @@ def get_person_time(person)
result = db.execute("select place from people where person = '#{person}';")
if result[0]
timezone = Timezone[result[0][0]]
time = timezone(Time.now)
time = timezone.time(Time.now)
"#{time.hour}:#{time.min}"
else
"unknown"
Expand Down

0 comments on commit d878458

Please sign in to comment.