Data Model Libraries
    Preparing search index...

    Luxon DateTime options to affect the creation of the DateTime instance.

    interface DateTimeOpts {
        zone?: string | Zone<boolean>;
        setZone?: boolean;
        locale?: string;
        outputCalendar?: string;
        numberingSystem?: string;
        weekSettings?: string;
    }
    Index

    Properties

    zone?: string | Zone<boolean>

    Use this zone if no offset is specified in the input string itself. Will also convert the time to this zone. Defaults to 'local'.

    Zone

    setZone?: boolean

    Override the zone with a fixed-offset zone specified in the string itself, if it specifies one. Defaults to false

    locale?: string

    The locale to set on the resulting DateTime instance. Defaults to the system's locale.

    outputCalendar?: string

    The output calendar to set on the resulting DateTime instance.

    numberingSystem?: string

    The numbering system to set on the resulting DateTime instance.

    weekSettings?: string

    The week settings to set on the resulting DateTime instance.