Skip to content

Commit

Permalink
change to month start resolution and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
fboerman committed Jun 1, 2024
1 parent 84f3722 commit 8d64b4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion entsoe/entsoe.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 2 additions & 2 deletions entsoe/series_parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8d64b4e

Please sign in to comment.