From 40d1d9187f7de0b0559fb556a92b7756bc5bc59c Mon Sep 17 00:00:00 2001 From: Florian Pinault Date: Tue, 20 Feb 2024 08:19:56 +0000 Subject: [PATCH] added strftime --- climetlab/utils/patterns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/climetlab/utils/patterns.py b/climetlab/utils/patterns.py index 3727338f..8fad3099 100644 --- a/climetlab/utils/patterns.py +++ b/climetlab/utils/patterns.py @@ -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: