Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion stubs/convertdate/METADATA.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version = "2.4.*"
version = "2.4.1"
upstream_repository = "https://github.com/fitnr/convertdate"
7 changes: 3 additions & 4 deletions stubs/convertdate/convertdate/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 3 additions & 0 deletions stubs/convertdate/convertdate/hebrew.pyi
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from typing import Final, Literal
from typing_extensions import deprecated

EPOCH: Final = 347995.5
HEBREW_YEAR_OFFSET: Final = 3760
Expand All @@ -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]: ...
Expand Down