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: updated dates data for 2081 #76

Merged
merged 1 commit into from
Mar 11, 2024
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.0
## v1.1.1

- Updated dates data for 2081

## v1.1.0 (Jun 20, 2023)

- Depreciated templatetags and added support from `django-nepali` package.
- Updated README.md for `django-nepali` package.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -439,4 +439,4 @@ We have created a new Django package called [django-nepali](https://github.com/o

## Contribution

We appreciate feedback and contribution to this package. To get started please see our [contribution guide](CONTRIBUTION.md)
We appreciate feedback and contribution to this package. To get started please see our [contribution guide](./CONTRIBUTING.md)
8 changes: 4 additions & 4 deletions nepali/date_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ 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),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31), 366),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31), 366), # 2050
((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),
Expand All @@ -98,7 +98,7 @@ class NepaliDateConverter:
((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, 31, 32, 31, 31, 29, 30, 30, 29, 30, 30), 365), # 2070
((31, 31, 32, 31, 31, 31, 30, 29, 30, 29, 30, 30), 365),
((31, 32, 31, 32, 31, 30, 30, 29, 30, 29, 30, 30), 365),
((31, 32, 31, 32, 31, 30, 30, 30, 29, 29, 30, 31), 366),
Expand All @@ -108,8 +108,8 @@ class NepaliDateConverter:
((31, 32, 31, 32, 31, 30, 30, 30, 29, 30, 29, 31), 366),
((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),
((31, 31, 32, 32, 31, 30, 30, 30, 29, 30, 30, 30), 366),
((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),
Expand Down
Loading