Skip to content

Commit

Permalink
added strftime
Browse files Browse the repository at this point in the history
  • Loading branch information
floriankrb committed Feb 20, 2024
1 parent 6fbfe9a commit 40d1d91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion climetlab/utils/patterns.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def substitute(self, value, name):
return self.format % value


TYPES = {"": Any, "int": Int, "float": Float, "date": Datetime, "enum": Enum}
TYPES = {"": Any, "int": Int, "float": Float, "date": Datetime, "strftime": Datetime, "enum": Enum}


class Constant:
Expand Down

0 comments on commit 40d1d91

Please sign in to comment.