aboutsummaryrefslogtreecommitdiff
path: root/timestring.rb
diff options
context:
space:
mode:
Diffstat (limited to 'timestring.rb')
-rw-r--r--timestring.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/timestring.rb b/timestring.rb
index f61e631..ff4a220 100644
--- a/timestring.rb
+++ b/timestring.rb
@@ -83,7 +83,7 @@ class TimeString
if @time.class == Time
return time.strftime("%H:%M")
else
- return @time
+ return @time.to_s
end
end
end