Member Junction
    Preparing search index...

    Interface PropertyResolutionContext

    What a token is worked out from.

    interface PropertyResolutionContext {
        Now?: Date;
        TimeZone?: string;
        User?: { Email?: string; ID: string; Name?: string };
        WeekStartsOn?: 0 | 1;
    }
    Index

    Properties

    Now?: Date

    The clock. Defaults to the current time.

    TimeZone?: string

    IANA time zone the date tokens are worked out in. Defaults to 'UTC'.

    User?: { Email?: string; ID: string; Name?: string }

    The context user. Required by the user tokens. UserInfo fits.

    WeekStartsOn?: 0 | 1

    First day of the week for Context.StartOfWeek: 1 = Monday (default, ISO 8601), 0 = Sunday.