From 5e27d8ca9421fdd4d6f28257fbf07b5ab807b800 Mon Sep 17 00:00:00 2001 From: Milad Date: Wed, 20 Mar 2024 15:52:37 +0100 Subject: [PATCH] update jalali license as mentioned in #148 --- jdatetime/jalali.py | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/jdatetime/jalali.py b/jdatetime/jalali.py index e2c90ac..912f1b5 100644 --- a/jdatetime/jalali.py +++ b/jdatetime/jalali.py @@ -1,6 +1,23 @@ -# dervied from http://farsitools.sf.net -# Copyright (C) 2003-2011 Parspooyesh Fanavar (http://parspooyesh.com/) -# see LICENSE.txt +# 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 +# Copyright (C) 2001 Mohammad Toossi +# 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 . + g_days_in_month = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31] j_days_in_month = [31, 31, 31, 31, 31, 31, 30, 30, 30, 30, 30, 29]