def time_format(value, format_string):
    tf = TimeFormat(value)
    return tf.format(format_string)
SiteBlock.on_taskend: removes domain blocks from hosts file.
dataset/ETHPy150Open django/django/django/utils/dateformat.py/time_format--crossover with--dataset/ETHPy150Open xtrementl/focus/tests/unit/plugin/modules/test_sites.py/TestSiteBlock.test__on_taskend