def METHOD_NAME(
    ctx: click.Context | None, param: click.Parameter, value: datetime.datetime | None
) -> str:
    if value is None:
        return ""
    return value.strftime("%Y-%m-%d %H:%M:%S")