Cosmo (JavaScript) — API reference
    Preparing search index...

    Interface Modifiers

    Optional locale overrides applied on top of the locale identifier.

    interface Modifiers {
        calendar?: string | null;
        currency?: string | null;
        timeZone?: string | null;
    }
    Index

    Properties

    calendar?: string | null

    Calendar identifier, e.g. "gregory", "persian", "buddhist".

    currency?: string | null

    ISO 4217 currency code used as the default for Cosmo.money.

    timeZone?: string | null

    IANA time zone, e.g. "Australia/Sydney".