@conboai/storybook.components 0.2.20 → 0.2.22
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/helpers/utils/date.d.ts +7 -0
- package/dist/storybook.components.mjs +4104 -4091
- package/package.json +1 -1
|
@@ -7,3 +7,10 @@ export declare const subtractTime: (time: number, timeType: ManipulateType | und
|
|
|
7
7
|
export declare const getLocalDateTimeFormat: () => string;
|
|
8
8
|
export declare const formatDateWithLocal: (date: Date | string) => string;
|
|
9
9
|
export declare const formatDuration: (milliseconds: number) => string;
|
|
10
|
+
export declare const formatDate: (inputDate: Date | string | null, timezone?: string) => string;
|
|
11
|
+
export declare const addMillisecondsToDate: (dateString: Date, milliseconds: number) => string;
|
|
12
|
+
export declare const convertLocalToUTC: (localDateStr: string, timeZone: string) => string;
|
|
13
|
+
export declare const convertUTCToTimeZone: (utcDateStr: string, timeZone: string) => string;
|
|
14
|
+
export declare const convertTimezone: (dateString: Date | undefined, targetTimezone: string) => string;
|
|
15
|
+
export declare const convertLocalToUTCWithFormattedDate: (inputDate: Date, timezone: string) => string;
|
|
16
|
+
export declare const convertDateFromUTCWithFormattedDateAndDuration: (inputDate: Date, timezone: string, duration: number) => string;
|