Revision 88c9eb8e
Mini-corrections pour la recherche par dates dans VigiBoard (pour être plus laxiste sur les entrées).
git-svn-id: https://vigilo-dev.si.c-s.fr/svn@3029 b22e2e97-25c9-44ff-b637-2e5ceca36478
vigiboard/controllers/root.py | ||
---|---|---|
157 | 157 |
'%%%s%%' % trouble_ticket)) |
158 | 158 |
|
159 | 159 |
if from_date: |
160 |
search['from_date'] = from_date |
|
160 |
search['from_date'] = from_date.lower()
|
|
161 | 161 |
try: |
162 | 162 |
# TRANSLATORS: Format de date et heure. |
163 | 163 |
from_date = datetime.strptime( |
... | ... | |
169 | 169 |
aggregates.add_filter(CorrEvent.timestamp_active >= from_date) |
170 | 170 |
|
171 | 171 |
if to_date: |
172 |
search['to_date'] = to_date |
|
172 |
search['to_date'] = to_date.lower()
|
|
173 | 173 |
try: |
174 | 174 |
# TRANSLATORS: Format de date et heure. |
175 | 175 |
to_date = datetime.strptime( |
Also available in: Unified diff