diff options
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | lib/mauve/alert.rb | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 80f6124..d8b7263 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +mauvealert (3.0.2) stable; urgency=low + + * Now checks for transmission time set to zero. + + -- Patrick J Cherry <patrick@bytemark.co.uk> Tue, 19 Apr 2011 10:27:13 +0100 + mauvealert (3.0.1) stable; urgency=low * Fixed up logging for the web interface diff --git a/lib/mauve/alert.rb b/lib/mauve/alert.rb index a95f761..30d50bb 100644 --- a/lib/mauve/alert.rb +++ b/lib/mauve/alert.rb @@ -282,7 +282,7 @@ module Mauve # # Transmission time helps us determine any time offset # - if update.transmission_time + if update.transmission_time and update.transmission_time > 0 transmission_time = MauveTime.at(update.transmission_time) else transmission_time = reception_time |