Fixed buggy statement. import datetime ... followed by datetime.now() was fixed as datetime.datetime.now().

This commit is contained in:
2024-05-26 12:26:54 +02:00
parent 37071945f5
commit 88572b44b1

View File

@ -97,7 +97,7 @@ def make_file_copy(source_file_path, output_folder_name : str = 'tmp_files'):
def created_at():
now = datetime.now()
now = datetime.datetime.now()
# Populate now object with time zone infotmation obtained from the local system
now_tz_aware = now.astimezone()
tz = now_tz_aware.strftime('%z')