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:
2025-08-02 14:15:00 -06:00
parent bba992dc02
commit c127a1f4bf

View File

@@ -106,7 +106,7 @@ class ExistentialComicStrip(ComicStrip):
self.captions.extend(philosophers.get_text().split("\n")) self.captions.extend(philosophers.get_text().split("\n"))
if final_caption: if final_caption:
self.captions.append(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): if self.date >= datetime.date(2023, 11, 13):
self.safe = (self.date - datetime.date(2023, 11, 13)).days self.safe = (self.date - datetime.date(2023, 11, 13)).days