예제 #1
0
def format_period_words_fn(raw_value: pendulum.Period,
                           _format_str: str) -> str:
    return raw_value.in_words()
예제 #2
0
def format_fn_period_words(raw_value: pendulum.Period, _format_str: str,
                           now_dt: pendulum.DateTime) -> str:
    return raw_value.in_words()