Project

General

Profile

Revision c56fed5a

IDc56fed5a20b9efcc55b30e527755bbe4305fddd4
Parent f743f760
Child 2762b7d6

Added by Vincent QUEMENER over 14 years ago

Modification de la valeur par défaut des dates du formulaire de recherche.

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@1599 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

vigiboard/widgets/search_form.py
31 31
    ]
32 32
    
33 33
    def __init__(self,  id, lang, date_format='%Y-%m-%d %I:%M:%S %P', 
34
                 start_date=datetime.now().strftime('%Y-%m-%d %I:%M:%S %P'), 
35
                 end_date=datetime.now().strftime('%Y-%m-%d %I:%M:%S %P'), 
36
                 *args, **kwargs):
34
                 start_date="", end_date="", *args, **kwargs):
37 35
        super(SearchForm, self).__init__(id, *args, **kwargs)
38 36

  
39 37
        self.children.append(CalendarDateTimePicker('from_date', 

Also available in: Unified diff