Skip to content

Commit

Permalink
Use now.date() instead of now.today()
Browse files Browse the repository at this point in the history
  • Loading branch information
sultaniman committed Apr 2, 2024
1 parent 6571f87 commit e32d929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dlt/destinations/impl/filesystem/layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e32d929

Please sign in to comment.