You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the "Project_Zomboid" module, on its sub-class "Create_Survival_Diary_File", I have made the following changes:
I moved the date definition of the diary file to a new method called "Define_Date".
I created the new root method "Define_Date_Dictionary", so as not to repeat the method code in two different places.
Now the "Define_Date" method checks whether the diary's current day is the month's last day.
If so, it utilizes the new root method "Verify_Diary_Date" to verify the date.
The method verifies whether the current month is the last month of the year.
If so, it moves to the next diary year, and changes the month to the first, modifying the year and month folder.
If not, it moves to the next diary month, modifying only the month folder.
In either case, it resets the day to the first, as the month is modified in both cases.
0 commit comments