Skip to content

Commit

Permalink
fix: a better fix to return build_date
Browse files Browse the repository at this point in the history
  • Loading branch information
newgene committed Jul 3, 2023
1 parent 3141e5e commit eedf911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biothings/web/services/metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ def __add__(self, other):

return BiothingHubMeta(
biothing_type=biothing_type,
build_date=build_date.isoformat() if build_date else None,
build_date=build_date.isoformat() if isinstance(build_date, datetime) else build_date,
build_version=build_version,
src=src,
stats=stats,
Expand Down

0 comments on commit eedf911

Please sign in to comment.