def METHOD_NAME(self, ctx: dict[str, str | None]) -> Callable:
    """Converts DATE to struct_time/date.
    No timezone is attached.
    """
    def conv(value: str) -> str:
        return ctx["fmt"].format(time.gmtime(int(value) * (24 * 60 * 60)))
    def conv_windows(value):
        ts = ZERO_EPOCH + timedelta(seconds=int(value) * (24 * 60 * 60))
        return ctx["fmt"].format(date(ts.year, ts.month, ts.day))
    return conv if not IS_WINDOWS else conv_windows