Puts a minimum date on the existential comics
I have solid dates for the first comic and the 9th comic, but not those in between, and the first comic does not follow my algorithm. This change at least gives the first comic the correct date.
This commit is contained in:
@@ -106,7 +106,7 @@ class ExistentialComicStrip(ComicStrip):
|
||||
self.captions.extend(philosophers.get_text().split("\n"))
|
||||
if final_caption:
|
||||
self.captions.append(final_caption)
|
||||
self.date = datetime.date(2013, 11, 11) + datetime.timedelta(weeks=self.index - 2)
|
||||
self.date = max(datetime.date(2013, 11, 11) + datetime.timedelta(weeks=self.index - 2), datetime.date(2013, 11, 12))
|
||||
|
||||
if self.date >= datetime.date(2023, 11, 13):
|
||||
self.safe = (self.date - datetime.date(2023, 11, 13)).days
|
||||
|
||||
Reference in New Issue
Block a user