code: protected function filterDateInstance($date): string
      {
          if (empty($date)) {
              $date = new \DateTime('now', new \DateTimeZone('Asia/Jakarta'));
          }
  
          if (is_string($date) || is_int($date)) {
              $date = new \DateTime($date, new \DateTimeZone('Asia/Jakarta'));
          }
  
          return $this->formatDate($date);
      }
docs: Make Sure Date in string with correct format state
  
  @param \DateTimeInterface|string|int|null $date