Fix Date Suffix Printing for 23rd

pull/20/head
Calvin McCoy 2018-05-28 10:51:21 -07:00
rodzic c30df5828d
commit e3f849b12c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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'