Skip to content

Commit

Permalink
month days count not matching for certain years fix (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
amitgaru2 authored Feb 22, 2024
1 parent e3fbca2 commit 0b7d1bc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion nepali_datetime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Supports >= Python3.5
"""
__version__ = "1.0.8.1"
__version__ = "1.0.8.2"

__author__ = "Amit Garu <amitgaru2@gmail.com>"

Expand Down
6 changes: 3 additions & 3 deletions nepali_datetime/data/calendar_bs.csv
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ Year,Baisakh,Jestha,Ashar,Shrawan,Bhadra,Asoj,Kartik,Mangsir,Poush,Magh,Falgun,C
2078,31,31,31,32,31,31,30,29,30,29,30,30
2079,31,31,32,31,31,31,30,29,30,29,30,30
2080,31,32,31,32,31,30,30,30,29,29,30,30
2081,31,31,32,32,31,30,30,30,29,30,30,30
2082,30,32,31,32,31,30,30,30,29,30,30,30
2081,31,32,31,32,31,30,30,30,29,30,29,31
2082,31,31,32,31,31,30,30,30,29,30,30,30
2083,31,31,32,31,31,30,30,30,29,30,30,30
2084,31,31,32,31,31,30,30,30,29,30,30,30
2085,31,32,31,32,30,31,30,30,29,30,30,30
2086,30,32,31,32,31,30,30,30,29,30,30,30
2087,31,31,32,31,31,31,30,30,29,30,30,30
2087,31,31,32,31,31,31,30,29,30,30,30,30
2088,30,31,32,32,30,31,30,30,29,30,30,30
2089,30,32,31,32,31,30,30,30,29,30,30,30
2090,30,32,31,32,31,30,30,30,29,30,30,30
Expand Down
3 changes: 2 additions & 1 deletion tests/test_conversions.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
{'bs': {'year': 2013, 'month': 2, 'day': 8}, 'ad': {'year': 1956, 'month': 5, 'day': 21}},
{'bs': {'year': 2051, 'month': 10, 'day': 1}, 'ad': {'year': 1995, 'month': 1, 'day': 15}},
{'bs': {'year': 2076, 'month': 6, 'day': 27}, 'ad': {'year': 2019, 'month': 10, 'day': 14}},
{'bs': {'year': 2077, 'month': 4, 'day': 4}, 'ad': {'year': 2020, 'month': 7, 'day': 19}}
{'bs': {'year': 2077, 'month': 4, 'day': 4}, 'ad': {'year': 2020, 'month': 7, 'day': 19}},
{'bs': {'year': 2081, 'month': 3, 'day': 31}, 'ad': {'year': 2024, 'month': 7, 'day': 15}}
]


Expand Down

0 comments on commit 0b7d1bc

Please sign in to comment.