aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/mauve_time.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-07-29 12:11:56 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-07-29 12:11:56 +0100
commit5f57bc117ff110d21fe6c130816c208c35f0b987 (patch)
tree0fb738b571bb18bd90f569e21ecf1221ed4024bc /lib/mauve/mauve_time.rb
parentfd23821950f0562a8995735105cd31fdc6d55933 (diff)
* Added initial logger
* Acknowledgement time calculations now in JS * Updated logging to indicate where and update comes from
Diffstat (limited to 'lib/mauve/mauve_time.rb')
-rw-r--r--lib/mauve/mauve_time.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/mauve_time.rb b/lib/mauve/mauve_time.rb
index 79fa4f3..812b0e2 100644
--- a/lib/mauve/mauve_time.rb
+++ b/lib/mauve/mauve_time.rb
@@ -21,7 +21,7 @@ class DateTime
end
def in_x_hours(*args)
- self.to_s_human(*args)
+ self.to_time.in_x_hours(*args)
end
end