[convertdate] Update to 2.4.1 (#15406)

This commit is contained in:
Semyon Moroz
2026-02-09 18:25:33 +00:00
committed by GitHub
parent 7ef1e06f4d
commit 665cb9b011
3 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -1,2 +1,2 @@
version = "2.4.*"
version = "2.4.1"
upstream_repository = "https://github.com/fitnr/convertdate"
+3 -4
View File
@@ -25,24 +25,23 @@ from . import (
__version__: Final[str]
__all__ = [
"holidays",
"armenian",
"bahai",
"coptic",
"dublin",
"daycount",
"dublin",
"french_republican",
"gregorian",
"hebrew",
"holidays",
"indian_civil",
"islamic",
"iso",
"julian",
"julianday",
"mayan",
"ordinal",
"persian",
"positivist",
"mayan",
"ordinal",
"utils",
]
+3
View File
@@ -1,4 +1,5 @@
from typing import Final, Literal
from typing_extensions import deprecated
EPOCH: Final = 347995.5
HEBREW_YEAR_OFFSET: Final = 3760
@@ -23,6 +24,8 @@ def year_months(year: int) -> Literal[12, 13]: ...
def delay_1(year: int) -> int: ...
def delay_2(year: int) -> Literal[0, 1, 2]: ...
def year_days(year: int) -> float: ...
def month_length(year: int, month: int) -> Literal[29, 30]: ...
@deprecated("The `month_days` function is deprecated. Use `month_length` instead.")
def month_days(year: int, month: int) -> Literal[29, 30]: ...
def to_jd(year: int, month: int, day: int) -> float: ...
def from_jd(jd: float) -> tuple[int, int, int]: ...