kopia lustrzana https://github.com/inmcm/micropyGPS
Fix Date Suffix Printing for 23rd
rodzic
c30df5828d
commit
e3f849b12c
|
@ -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'
|
||||
|
|
Ładowanie…
Reference in New Issue