aboutsummaryrefslogtreecommitdiff
path: root/timepollhead.rb
diff options
context:
space:
mode:
Diffstat (limited to 'timepollhead.rb')
-rw-r--r--timepollhead.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/timepollhead.rb b/timepollhead.rb
index d0af441..4aa9617 100644
--- a/timepollhead.rb
+++ b/timepollhead.rb
@@ -26,7 +26,7 @@ class TimePollHead
elsif self.time.class == NilClass && other.time.class == NilClass
0
else
- self.time.class == String ? -1 : 1
+ self.time.class == String ? 1 : -1
end
else
self.date <=> other.date