Fixed buggy statement. import datetime ... followed by datetime.now() was fixed as datetime.datetime.now().
This commit is contained in:
@ -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')
|
||||
|
Reference in New Issue
Block a user