From cae540311378625d2fe3020c0b5ed399c53eadcb Mon Sep 17 00:00:00 2001 From: digitalguy99 Date: Sun, 10 Mar 2024 02:02:39 +0900 Subject: [PATCH] Fixed copyright details --- README.md | 2 +- cal.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 37ebade..9729b7a 100644 --- a/README.md +++ b/README.md @@ -78,4 +78,4 @@ cmd /c "reg add HKCU\Console /v VirtualTerminalLevel /t REG_DWORD /d 1 /f" Then restart your console application. ## License -© 2023 digitalguy99. This project is licensed under the terms of the MIT license. \ No newline at end of file +© 2024 digitalguy99. This project is licensed under the terms of the MIT license. \ No newline at end of file diff --git a/cal.py b/cal.py index 598dd8a..3ef86d6 100644 --- a/cal.py +++ b/cal.py @@ -16,7 +16,7 @@ # Setting variables cal_month, cal_year = None, None -program_version = "4.0.0" +program_version = "4.0.1" if args.month: if len(args.month) > 1: @@ -123,6 +123,6 @@ def print_calendar(year: int): else: cal() elif args.version: - print(f"pythoncalendar v{program_version}", "© 2023 digitalguy99", sep='\n') + print(f"pythoncalendar v{program_version}", f"© {datetime.now().year} digitalguy99", sep='\n') else: cal() \ No newline at end of file