Project

General

Profile

« Previous | Next » 

Revision 55ace1fb

Added by Benjamin Dauvergne over 12 years ago

agenda: format act time in the template not the view

View differences:

calebasse/agenda/views.py
244 244
            display_name = VALIDATION_STATES[state.state_name]
245 245
            if not state.previous_state:
246 246
                state = None
247
            act.date = act.date.strftime("%H:%M")
248 247
            actes.append((act, state, display_name))
249 248
        context['validation_states'] = dict(VALIDATION_STATES)
250 249
        if self.service.name != 'CMPP' and \

Also available in: Unified diff