summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pages/dozmod.py2
-rw-r--r--pages/total.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/pages/dozmod.py b/pages/dozmod.py
index 61a99ee..4d9fb24 100644
--- a/pages/dozmod.py
+++ b/pages/dozmod.py
@@ -28,7 +28,7 @@ def layout():
dbc.Col(width=12, lg=3, children=[
dcc.DatePickerRange(
id='dozmod-range',
- start_date=(dt.datetime.now() - dt.timedelta(days=12*30)).date(),
+ start_date=(dt.datetime.now() - dt.timedelta(days=365)).date(),
end_date=dt.datetime.now().date(),
display_format='DD-MM-YYYY',
initial_visible_month=dt.datetime.now(),
diff --git a/pages/total.py b/pages/total.py
index 4fb6b83..eb7a63c 100644
--- a/pages/total.py
+++ b/pages/total.py
@@ -28,7 +28,7 @@ def layout():
dbc.Col(width=12, lg=3, children=[
dcc.DatePickerRange(
id='total-range',
- start_date=(dt.datetime.now() - dt.timedelta(days=12*30)).date(),
+ start_date=(dt.datetime.now() - dt.timedelta(days=365)).date(),
end_date=dt.datetime.now().date(),
display_format='DD-MM-YYYY',
initial_visible_month=dt.datetime.now(),