• JMap.Language.getDateFnsLocale

    Returns the format for date-fns library.

    Parameters

    • Optional displayTime: boolean

      true to return the format including the time

    Returns any

    Example

    // returns the format for date-fns library without datetime
    JMap.Language.getDateFnsLocale()

    // returns the format for date-fns library without datetime
    JMap.Language.getDateFnsLocale(true)