From a8b3225519bb5df5c851ed57fb4ead4dda1f63ac Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 6 Jul 2016 20:04:39 +0200 Subject: Fix error in days per months table MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/plugins/leapsec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/leapsec.py b/src/plugins/leapsec.py index 8af0404..430cd96 100644 --- a/src/plugins/leapsec.py +++ b/src/plugins/leapsec.py @@ -72,7 +72,7 @@ class LeapSeconds: , 'NOV' : 11 , 'DEC' : 12 } - DAYS_OF_MONTHS = [-1, 31, 28, 31, 30, 31, 30, 30, 31, 30, 31, 30, 31] + DAYS_OF_MONTHS = [-1, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] def translate(announcement): announcement[0] = int(announcement[0]) announcement[1] = MONTHS[announcement[1]] -- cgit v1.2.3-70-g09d2