Changed datetime format output of created_at() function as '%Y-%m-%d %H:%M:%S.%f'
This commit is contained in:
@ -106,7 +106,7 @@ def created_at():
|
|||||||
now_tz_aware = now.astimezone()
|
now_tz_aware = now.astimezone()
|
||||||
tz = now_tz_aware.strftime('%z')
|
tz = now_tz_aware.strftime('%z')
|
||||||
# Replace colons in the time part of the timestamp with hyphens to make it file name friendly
|
# Replace colons in the time part of the timestamp with hyphens to make it file name friendly
|
||||||
created_at = now_tz_aware.strftime('%Y-%m-%d_%H-%M-%S') + '_UTC-OFST_' + tz
|
created_at = now_tz_aware.strftime('%Y-%m-%d %H:%M:%S') #+ '_UTC-OFST_' + tz
|
||||||
return created_at
|
return created_at
|
||||||
|
|
||||||
def convert_dataframe_to_np_structured_array(df: pd.DataFrame):
|
def convert_dataframe_to_np_structured_array(df: pd.DataFrame):
|
||||||
|
Reference in New Issue
Block a user