Skip to content
Snippets Groups Projects
Commit 00eeabfe authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-12812: Fixed time formatting for None values

parent a6459800
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
...@@ -51,6 +51,8 @@ class PropertyReformatter: ...@@ -51,6 +51,8 @@ class PropertyReformatter:
return properties return properties
def _format_timestamp(self, value): def _format_timestamp(self, value):
if value is None:
return value
if is_of_openbis_supported_date_format(value): if is_of_openbis_supported_date_format(value):
return value return value
timestamp = pd.to_datetime(value) timestamp = pd.to_datetime(value)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment