Skip to content

Commit

Permalink
Merge pull request #150 from slashmili/dual-licences
Browse files Browse the repository at this point in the history
update licences
  • Loading branch information
slashmili authored Mar 25, 2024
2 parents 7e07210 + 21d5f92 commit 7ab5c01
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

### Add
* Add support for Python 3.12
* add LGPL licence for jalali.py file

### Changed
* BREAKING CHANGE: Arithmetic operations on `date`/`datetime` against an unknown type will now return `NotImplemented` instead of raising `TypeError`
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,24 @@ jdatetime is (c) 2010-2018 Milad Rastian <eslashmili at gmail.com>.
The jdatetime module was contributed to Python as of Python 2.7 and thus
was licensed under the Python license. Same license applies to all files in
the jdatetime package project.

The algorithms to convert between Jalali and Gregorian dates, are based on
FarsiWeb's jalali.c library (http://www.farsiweb.info/jalali/jalali.c).

Copyright (C) 2001 Roozbeh Pournader <[email protected]>
Copyright (C) 2001 Mohammad Toossi <[email protected]>
Copyright (C) 2003-2011 Parspooyesh Fanavar (http://parspooyesh.com/)

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You can receive a copy of GNU Lesser General Public License at the
World Wide Web address <http://www.gnu.org/licenses/lgpl.html>.

5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ jdatetime

jdatetime is Jalali_ implementation of Python's datetime module

Licence
-------
This pacakge is released under dual licenses, check LICENSE file for more information.


Status
------

Expand Down

0 comments on commit 7ab5c01

Please sign in to comment.