Skip to content

Commit 7db1f96

Browse files
committed
Fix datetimes
1 parent eb252ea commit 7db1f96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdv/single_table/_dayz_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ def _detect_datetime_column_parameters(series, column_metadata):
7676
params['start_timestamp'] = start_dt.strftime(datetime_format)
7777
params['end_timestamp'] = end_dt.strftime(datetime_format)
7878
else:
79-
params['start_timestamp'] = str(start_dt)
80-
params['end_timestamp'] = str(end_dt)
79+
params['start_timestamp'] = start_dt.strftime('%Y-%m-%d %H:%M:%S')
80+
params['end_timestamp'] = end_dt.strftime('%Y-%m-%d %H:%M:%S')
8181

8282
return params
8383

0 commit comments

Comments
 (0)