def METHOD_NAME(
    self,
    time,
    long_format=None,
    time_only=None,
    context=None,
    domain="plonelocales",
    request=None,
):
    # get some context if none is passed
    if context is None:
        context = self
    return METHOD_NAME(time, long_format, time_only, context, domain, request)