mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	Restructurate memberships, closes #16
This commit is contained in:
		@@ -1,6 +1,7 @@
 | 
			
		||||
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
 | 
			
		||||
# SPDX-License-Identifier: GPL-3.0-or-later
 | 
			
		||||
 | 
			
		||||
import datetime
 | 
			
		||||
from json import dumps as json_dumps
 | 
			
		||||
 | 
			
		||||
from django.forms.widgets import DateTimeBaseInput, NumberInput, TextInput
 | 
			
		||||
@@ -299,4 +300,4 @@ class YearPickerInput(BasePickerInput):
 | 
			
		||||
    def _link_to(self, linked_picker):
 | 
			
		||||
        """Customize the options when linked with other date-time input"""
 | 
			
		||||
        yformat = self.config['options']['format'].replace('-01-01', '-12-31')
 | 
			
		||||
        self.config['options']['format'] = yformat
 | 
			
		||||
        self.config['options']['format'] = yformat
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user