Skip to content

Commit

Permalink
Merge pull request #80 from aj3sh/fix-month-days
Browse files Browse the repository at this point in the history
  • Loading branch information
aj3sh authored Jan 26, 2025
2 parents 72bb38d + aa22f61 commit eaa36ef
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 21 deletions.
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="aj3sshh@gmail.com, sugatbajracharya49@gmail.com",
Expand Down

0 comments on commit eaa36ef

Please sign in to comment.