public static function weekDetails($date): array
    {
        $sunday = self::sunday($date);
        $current = ($sunday->eq(self::sunday())) ? 1 : 0;
        $future = ($sunday->gt(self::now())) ? 1 : 0;
        $past = (!$current && !$future) ? 1 : 0;

        return [
            'sunday' => $sunday->format('Y-m-d'),
            'past' => $past,
            'current' => $current,
            'future' => $future,
            'prev_week' => $sunday->copy()->subDays(7)->format('Y-m-d'),
            'next_week' => $sunday->copy()->addDays(7)->format('Y-m-d'),
        ];
    }