From e3f849b12c5e11bf0e8d88c2dc995ffe20295333 Mon Sep 17 00:00:00 2001 From: Calvin McCoy Date: Mon, 28 May 2018 10:51:21 -0700 Subject: [PATCH] Fix Date Suffix Printing for 23rd --- micropyGPS.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/micropyGPS.py b/micropyGPS.py index 59dcd60..feae940 100644 --- a/micropyGPS.py +++ b/micropyGPS.py @@ -763,7 +763,7 @@ class MicropyGPS(object): suffix = 'st' elif self.date[0] in (2, 22): suffix = 'nd' - elif self.date[0] == 3: + elif self.date[0] == (3, 23): suffix = 'rd' else: suffix = 'th'