Skip to content

Commit

Permalink
Ajustement du nouveau mode de compatibilité (correction janvier 2018)
Browse files Browse the repository at this point in the history
  • Loading branch information
bsongis committed Feb 19, 2019
1 parent ac09210 commit 49964be
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cotisation.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def __init__(self, inscrit, date, options=0):
self.fin = self.inscription.fin_periode_adaptation
else:
self.debut = self.inscription.fin_periode_adaptation + datetime.timedelta(1)
if not (config.options & COMPATIBILITY_MODE_ADAPTATIONS_2018):
if self.debut >= datetime.date(2019, 1, 1) or not (config.options & COMPATIBILITY_MODE_ADAPTATIONS_2018):
self.debut_inscription = self.debut

if options & TRACES:
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
# You should have received a copy of the GNU General Public License
# along with Gertrude; if not, see <http://www.gnu.org/licenses/>.

VERSION = '1.22.18'
VERSION = '1.22.19'

0 comments on commit 49964be

Please sign in to comment.