Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/date

Index

References

dayjs

Re-exports dayjs

Functions

convertFormatToMoment

  • convertFormatToMoment(format: string): string
  • Convert the format from the angular-datepicker module to moment format.

    Parameters

    • format: string

    Returns string

currentTimezone

  • currentTimezone(): string

formatDate

  • formatDate(value: any, format: any, timezone: any): string
  • Format a date provided a value, format, and timezone object.

    Parameters

    • value: any
    • format: any
    • timezone: any

    Returns string

getDateSetting

  • getDateSetting(date: any): any

momentDate

  • momentDate(value: any, format: any, timezone: any): any
  • Get the moment date object for translating dates with timezones.

    Parameters

    • value: any
    • format: any
    • timezone: any

    Returns any

Generated using TypeDoc