allow month start frequency

This commit is contained in:
Sarthak Mishra
2024-05-14 17:53:40 +05:30
parent 691d325c14
commit 09f585d993
+1 -1
View File
@@ -70,7 +70,7 @@ def freq_map(freq: str):
or freq.endswith("U")
):
return 0
elif freq.endswith("W") or freq.endswith("M"):
elif freq.endswith("W") or freq.endswith("M") or freq.endswith("MS"):
return 1
elif freq.endswith("Y") or freq.endswith("Q"):
return 2