UNPKG

@nextcloud/vue

Version:
36 lines (35 loc) 974 B
import { Locale } from 'date-fns/locale'; type DateFormat = string; /** * Provide the format string for dates. * * @param locale locale to get the format string for */ export declare function getDateFormat(locale: Locale): DateFormat; /** * Provide the format string for times. */ export declare function getTimeFormat(): DateFormat; /** * Provide the format string for date times. * * @param locale locale to get the format string for */ export declare function getDateTimeFormat(locale: Locale): DateFormat; /** * Provide the format string for weeks. */ export declare function getWeekFormat(): DateFormat; /** * Provide the format string for month. * * @param locale locale to get the format string for */ export declare function getMonthFormat(locale: Locale): DateFormat; /** * Provide the format string for year. * * @param locale locale to get the format string for */ export declare function getYearFormat(locale: Locale): DateFormat; export {};