Use a unified DATE constant for convenience

This commit is contained in:
Alexander Hess 2021-09-16 11:53:40 +02:00
commit 41f75f507d
Signed by: alexander
GPG key ID: 344EA5AB10D868E0
6 changed files with 21 additions and 55 deletions

View file

@ -17,9 +17,7 @@ def horizontal_datetime_index():
The times resemble a horizontal time series with a `frequency` of `7`.
All observations take place at `NOON`.
"""
first_start_at = dt.datetime(
test_config.YEAR, test_config.MONTH, test_config.DAY, test_config.NOON, 0,
)
first_start_at = dt.datetime(*test_config.DATE, test_config.NOON, 0)
gen = (
start_at