@citruslime/ui 4.1.0-beta.21 → 4.1.0-beta.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/citrus-lime-ui.es.js +49 -17
- package/dist/citrus-lime-ui.umd.js +2 -2
- package/dist/utils/dates.d.ts +7 -0
- package/package.json +1 -1
package/dist/utils/dates.d.ts
CHANGED
|
@@ -37,6 +37,13 @@ export declare function getDefaultDate(min: string | null, max: string | null, t
|
|
|
37
37
|
* @returns The clamped date value.
|
|
38
38
|
*/
|
|
39
39
|
export declare function getClampedDateValue(minDate: string | null, maxDate: string | null, currentDate: Date | null, timeZone: string, calendarType: CalendarType): Date;
|
|
40
|
+
/**
|
|
41
|
+
* Checks if a locale uses 24-hour time format.
|
|
42
|
+
*
|
|
43
|
+
* @param locale - The locale to check.
|
|
44
|
+
* @returns True if the locale uses 24-hour format, false otherwise.
|
|
45
|
+
*/
|
|
46
|
+
export declare function is24HourFormat(locale: string): boolean;
|
|
40
47
|
/**
|
|
41
48
|
* Generate a date picker mask to be used in V-Calendar components.
|
|
42
49
|
*
|