diff --git a/rendercv/data_model.py b/rendercv/data_model.py index f92ceed..50f8b39 100644 --- a/rendercv/data_model.py +++ b/rendercv/data_model.py @@ -629,9 +629,7 @@ class Design(BaseModel): LaTeXString = Annotated[str, AfterValidator(escape_latex_characters)] PastDate = Annotated[ - str, - Field(pattern=r"\d{4}-?(\d{2})?-?(\d{2})?"), - AfterValidator(parse_date_string), + str, Field(pattern=r"\d{4}-?(\d{2})?-?(\d{2})?"), AfterValidator(parse_date_string) ]