Skip to content

Commit 8ccf2cb

Browse files
authored
Update irrigation_report (#11)
Update from/to date
1 parent bb79772 commit 8ccf2cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/utils/irrigation_report.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def create_pdf_from_operations(
7272
from_date_local = from_date.strftime("%Y-%m-%d")
7373

7474
if to_date:
75-
to_date_local = from_date.strftime("%Y-%m-%d")
75+
to_date_local = to_date.strftime("%Y-%m-%d")
7676
else:
7777
to_date_local = ''
7878

0 commit comments

Comments
 (0)