Skip to content
AlexisEidelman edited this page May 9, 2015 · 1 revision

Dans Expr, on modifie la liste des périodes. Le row n'a l'air de servir à rien.

        try:
            globals_periods = globals_table['PERIOD']
        except ValueError:
            globals_periods = globals_table['period']
        if context['format_date'] != 'year0':
            if max(globals_periods) < 9999:
                globals_periods = [100* x +1 for x in globals_periods]         
        row = np.searchsorted(globals_periods, key, side='left')
Clone this wiki locally