From b4042f704e8959cc9b454fbe32d76fca61255aab Mon Sep 17 00:00:00 2001 From: Sina Atalay Date: Fri, 17 Nov 2023 01:04:29 +0100 Subject: [PATCH] add more sections --- rendercv/data_model.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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) ]