public function dateTime(WP_Post $post, string $format, string $separator): string
    {
        // phpcs:enable

        Assert::stringNotEmpty($format);
        Assert::stringNotEmpty($separator);

        $postDate = $this->date($post, $format);
        $postTime = $this->time($post, $format);

        return implode([$postDate, $postTime], $separator);
    }