Skip to content

Commit

Permalink
merged CHANGELOG.md with master
Browse files Browse the repository at this point in the history
  • Loading branch information
Ajesh committed Oct 28, 2021
2 parents d765f46 + 65a7bfc commit 2d99d33
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# CHANGELOG

## v0.4.3 - (Not published)
- Fixed minor typo.
- CHANGELOG.md added.
- NepaliDate, NepaliTime, NepaliDateTime depreciation.
- Changed datetime directory
- Added Basic date parser
- Added Simple test case
- Fixed Typo on Thursday
- Changed datetime directory
6 changes: 3 additions & 3 deletions nepali/datetime/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1182,16 +1182,16 @@ def nepalihumanize(datetime_obj, threshold=None, format=None):

class NepaliDate(nepalidate):
def __init__(self, *args, **kwargs):
print("NepaliDate id depreciated and no longer be available in version >= 1.0.0, use nepalidate instead.")
print("NepaliDate is depreciated and no longer be available in version >= 1.0.0, use nepalidate instead.")
super().__init__(*args, **kwargs)

class NepaliTime(nepalidate):
def __init__(self, *args, **kwargs):
print("NepaliTime id depreciated and no longer be available in version >= 1.0.0, use nepalitime instead.")
print("NepaliTime is depreciated and no longer be available in version >= 1.0.0, use nepalitime instead.")
super().__init__(*args, **kwargs)

class NepaliDateTime(nepalidate):
def __init__(self, *args, **kwargs):
print("NepaliDateTime id depreciated and no longer be available in version >= 1.0.0, use nepalidatetime instead.")
print("NepaliDateTime is depreciated and no longer be available in version >= 1.0.0, use nepalidatetime instead.")
super().__init__(*args, **kwargs)

0 comments on commit 2d99d33

Please sign in to comment.