videosphere
    Preparing search index...

    Function validateSchedulePublishAtIso

    • Validates a UTC ISO schedule timestamp for YouTube publish/start times.

      Parameters

      • iso: string

        UTC ISO 8601 publish/start time.

      • now: Date = ...

        Reference instant.

      Returns string

      Error message when invalid, or undefined when valid.