Skip to content

Commit

Permalink
Fix for breaking change in arrow: arrow-py/arrow#832
Browse files Browse the repository at this point in the history
  • Loading branch information
mwes committed Feb 26, 2021
1 parent 310b319 commit eec4707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datacatalog/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def safen_path(file_path, no_unicode=settings.UNICODE_PATHS, no_spaces=False, ur

def msec_precision(datetimeval):
dt = arrow.get(datetimeval)
dts = dt.timestamp
dts = dt.int_timestamp
dtsp = ((dts * 1000) / 1000)
return datetime.datetime.fromtimestamp(dtsp)

Expand Down

0 comments on commit eec4707

Please sign in to comment.