From 8d64b4eca91772a885bfb80c5000fddff9a58e37 Mon Sep 17 00:00:00 2001 From: Frank Boerman Date: Sat, 1 Jun 2024 16:48:11 +0200 Subject: [PATCH] change to month start resolution and version bump --- entsoe/entsoe.py | 2 +- entsoe/series_parsers.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/entsoe/entsoe.py b/entsoe/entsoe.py index 3abca56..02dd068 100644 --- a/entsoe/entsoe.py +++ b/entsoe/entsoe.py @@ -23,7 +23,7 @@ warnings.filterwarnings('ignore', category=XMLParsedAsHTMLWarning) __title__ = "entsoe-py" -__version__ = "0.6.7" +__version__ = "0.6.8" __author__ = "EnergieID.be, Frank Boerman" __license__ = "MIT" diff --git a/entsoe/series_parsers.py b/entsoe/series_parsers.py index 2c3dbe6..fd00391 100644 --- a/entsoe/series_parsers.py +++ b/entsoe/series_parsers.py @@ -24,12 +24,12 @@ def _resolution_to_timedelta(res_text: str) -> str: """ resolutions = { 'PT60M': '60min', - 'P1Y': '12ME', + 'P1Y': '12MS', 'PT15M': '15min', 'PT30M': '30min', 'P1D': '1D', 'P7D': '7D', - 'P1M': '1ME', + 'P1M': '1MS', } delta = resolutions.get(res_text) if delta is None: