videosphere
    Preparing search index...

    Function isPublishAtInPast

    • Returns whether a scheduled publish time is strictly before the current instant.

      Parameters

      • publishAt: string

        UTC ISO 8601 string.

      • now: Date = ...

        Reference instant (defaults to current time).

      Returns boolean

      True when the scheduled time is in the past.