Skip to content

Commit

Permalink
debug in Time Field
Browse files Browse the repository at this point in the history
  • Loading branch information
HanxSmile committed Apr 14, 2023
1 parent 179d78f commit 78c533c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dsdl/fields/special.py
Expand Up @@ -654,4 +654,4 @@ def load_value(self, value):
if self.kwargs["fmt"]:
return datetime.strptime(value, self.kwargs["fmt"]).time()
else:
return date.fromisoformat(value)
return time.fromisoformat(value)

0 comments on commit 78c533c

Please sign in to comment.