dates
diapason.succes.dates
¶
Deterministic date resolution shared by the Succès API and DIA tools.
resolve_date_expression(expression, *, timezone=DEFAULT_TIMEZONE, now=None)
¶
Resolve common French, Haitian Creole and English date expressions.
Ambiguous phrases such as vendredi prochain deliberately return two
choices and never write data. This ports the legacy PHP assistant rule.