mirror of
https://github.com/stijndcl/didier.git
synced 2026-04-07 15:48:29 +02:00
Change current date time to 2 am to always be ahead of the base day
This commit is contained in:
parent
96cf11dcaf
commit
570c1e4d1b
1 changed files with 2 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ class Schedule:
|
|||
weekday_str: str = field(init=False)
|
||||
|
||||
def __post_init__(self):
|
||||
self.day = self.day.replace(hour=2, minute=0, second=0, microsecond=0)
|
||||
|
||||
self.schedule_dict: Dict = self.load_schedule_file()
|
||||
self.start_date = fromArray(self.schedule_dict["semester_start"])
|
||||
self.end_date = fromArray(self.schedule_dict["semester_end"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue