@temboplus/frontend-core 1.0.3 → 1.0.5
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/README.md +2 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/utilities/timezone/format.d.ts +5 -3
- package/dist/utilities/timezone/format.d.ts.map +1 -1
- package/dist/utilities/timezone/markets.d.ts +6 -2
- package/dist/utilities/timezone/markets.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/** `25 MAY 2026` */
|
|
2
2
|
export declare function formatDate(date: Date, tz?: string): string;
|
|
3
|
-
/** `25 MAY 2026, 02:30 PM` */
|
|
3
|
+
/** `25 MAY 2026, 02:30 PM`; UTC renders as `25 MAY 2026, 11:30 AM UTC`. */
|
|
4
4
|
export declare function formatDateTime(date: Date, tz?: string): string;
|
|
5
|
-
/** `25 MAY 2026, 02:30:45 PM
|
|
5
|
+
/** `25 MAY 2026, 02:30:45 PM`; UTC includes a `UTC` suffix. */
|
|
6
6
|
export declare function formatDateTimeWithSeconds(date: Date, tz?: string): string;
|
|
7
|
-
/** `02:30 PM` */
|
|
7
|
+
/** `02:30 PM`; UTC renders as `11:30 AM UTC`. */
|
|
8
8
|
export declare function formatTime(date: Date, tz?: string): string;
|
|
9
|
+
/** `2026-05-25T11:30:45Z` - UTC-only, second precision, no local timezone conversion. */
|
|
10
|
+
export declare function formatUtcIsoDateTime(date: Date): string;
|
|
9
11
|
//# sourceMappingURL=format.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/utilities/timezone/format.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"format.d.ts","sourceRoot":"","sources":["../../../src/utilities/timezone/format.ts"],"names":[],"mappings":"AAmGA,oBAAoB;AACpB,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAE,MAAyB,GAAG,MAAM,CAE5E;AAED,2EAA2E;AAC3E,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAE,MAAyB,GAAG,MAAM,CAMhF;AAED,+DAA+D;AAC/D,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAE,MAAyB,GAAG,MAAM,CAM3F;AAED,iDAAiD;AACjD,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAE,MAAyB,GAAG,MAAM,CAE5E;AAED,yFAAyF;AACzF,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM,CAEvD"}
|
|
@@ -11,8 +11,12 @@ export declare const OPERATING_TIMEZONES: ReadonlyArray<{
|
|
|
11
11
|
}>;
|
|
12
12
|
/**
|
|
13
13
|
* Reference / anchor zones that are useful even when you don't operate
|
|
14
|
-
* there — UTC is
|
|
15
|
-
*
|
|
14
|
+
* there — UTC is the absolute-time reference, the African anchors
|
|
15
|
+
* cover the markets we counterparty with most often, London covers
|
|
16
|
+
* the EU/UK reporting lens, New York the US banking lens, and Shanghai
|
|
17
|
+
* the East-Asia trading window. Kept deliberately short. UTC first as
|
|
18
|
+
* the absolute-time reference, then African anchors, then global
|
|
19
|
+
* reference markets — editorial order, not alphabetical or geographic.
|
|
16
20
|
*/
|
|
17
21
|
export declare const ANCHOR_TIMEZONES: ReadonlyArray<string>;
|
|
18
22
|
//# sourceMappingURL=markets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"markets.d.ts","sourceRoot":"","sources":["../../../src/utilities/timezone/markets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAA6D,CAAC;AAE/D
|
|
1
|
+
{"version":3,"file":"markets.d.ts","sourceRoot":"","sources":["../../../src/utilities/timezone/markets.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,EAAE,aAAa,CAAC;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAA6D,CAAC;AAE/D;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,EAAE,aAAa,CAAC,MAAM,CAQlD,CAAC"}
|
package/package.json
CHANGED