From e32d929e12a786827a4d064ff07c5dceb999e6db Mon Sep 17 00:00:00 2001 From: Sultan Iman Date: Tue, 2 Apr 2024 16:33:12 +0200 Subject: [PATCH] Use now.date() instead of now.today() --- dlt/destinations/impl/filesystem/layout.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlt/destinations/impl/filesystem/layout.py b/dlt/destinations/impl/filesystem/layout.py index 4643726401..857fec1d73 100644 --- a/dlt/destinations/impl/filesystem/layout.py +++ b/dlt/destinations/impl/filesystem/layout.py @@ -115,7 +115,7 @@ def params(self) -> Optional[Dict[str, Any]]: if self.config.datetime_format: self._params["curr_date"] = now.format(self.config.datetime_format) else: - self._params["curr_date"] = str(now.today()) + self._params["curr_date"] = str(now.date()) return self._params