Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update months total days data #80

Merged
merged 1 commit into from
Jan 26, 2025
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
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# CHANGELOG

## v1.1.1
## v1.1.2

- Updated months total days data.

## v1.1.1 (Mar 13, 2024)

- Updated dates data for 2081

Expand Down
38 changes: 19 additions & 19 deletions nepali/date_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,26 +109,26 @@ class NepaliDateConverter:
((31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30), 365),
((31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30), 365),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 30), 365), # 2080
((31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31), 366),
((30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((31, 32, 31, 32, 30, 31, 30, 30, 29, 30, 30, 30), 366),
((30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((31, 31, 32, 31, 31, 31, 30, 30, 29, 30, 30, 30), 366),
((30, 31, 32, 32, 30, 31, 30, 30, 29, 30, 30, 30), 365),
((30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((31, 31, 32, 31, 31, 31, 30, 30, 29, 30, 30, 30), 366),
((30, 31, 32, 32, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((31, 31, 32, 31, 31, 30, 30, 30, 29, 30, 30, 30), 365),
((31, 31, 32, 31, 31, 31, 30, 29, 30, 30, 30, 30), 366),
((30, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30), 364),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 30, 30), 366),
((31, 31, 32, 31, 31, 31, 29, 30, 29, 30, 29, 31), 365),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31), 366), # 2081
((31, 31, 31, 32, 31, 31, 30, 29, 30, 29, 30, 30), 365), # 2082
((31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30), 365),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31), 366),
((30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31), 365),
((31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30), 365),
((31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30), 365),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31), 366),
((30, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31), 365),
((31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30), 365),
((31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30), 365),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31), 366),
((31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 29, 31), 365),
((31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30), 365),
((31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30), 365),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31), 366),
((31, 31, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30), 365),
((31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30), 365),
(
(31, 31, 32, 31, 31, 31, 30, 29, 29, 30, 30, 30),
(31, 31, 32, 32, 31, 30, 30, 29, 30, 29, 30, 30),
365,
), # 2099 BS - 2042/2043 AD
]
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

setuptools.setup(
name="nepali",
version="1.1.1",
version="1.1.2",
license="MIT",
author="opensource-nepal",
author_email="[email protected], [email protected]",
Expand Down
Loading