From 5c20021a44efeeac6d54fa1246d3f1b0ecefc5ca Mon Sep 17 00:00:00 2001 From: Jack Greenlee Date: Wed, 29 May 2024 00:30:38 -0400 Subject: [PATCH] fix ymd -> yyyy_mm_dd typo --- emission/storage/decorations/local_date_queries.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emission/storage/decorations/local_date_queries.py b/emission/storage/decorations/local_date_queries.py index ccd1bf26e..bc6e8bc53 100644 --- a/emission/storage/decorations/local_date_queries.py +++ b/emission/storage/decorations/local_date_queries.py @@ -58,5 +58,5 @@ def yyyy_mm_dd_to_local_date(ymd: str) -> ecwl.LocalDate: def get_yyyy_mm_dd_range_query(field_name, start_ymd: str, end_ymd: str) -> dict: start_local_date = yyyy_mm_dd_to_local_date(start_ymd) - end_local_date = ymd_to_local_date(end_ymd) + end_local_date = yyyy_mm_dd_to_local_date(end_ymd) return get_range_query(field_name, start_local_date, end_local_date)