Skip to content

Commit

Permalink
Merge pull request #76 from opensource-nepal/date-issue-2081
Browse files Browse the repository at this point in the history
fix: updated dates data for 2081
  • Loading branch information
sugat009 authored Mar 11, 2024
2 parents 2efab86 + 32359b2 commit d845a49
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 6 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.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

0 comments on commit d845a49

Please sign in to comment.