From eb38049ef181a07ddf707e22d610b21eb5013715 Mon Sep 17 00:00:00 2001 From: Ajesh Sen Thapa Date: Mon, 13 Jan 2025 15:05:13 +0545 Subject: [PATCH] fix: update months total days data --- CHANGELOG.md | 6 +++++- nepali/date_converter.py | 38 +++++++++++++++++++------------------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d5724c..6d93460 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/nepali/date_converter.py b/nepali/date_converter.py index a5039b4..65ca0c2 100644 --- a/nepali/date_converter.py +++ b/nepali/date_converter.py @@ -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 ]