@temboplus/frontend-core 1.0.3 → 1.0.4

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.
@@ -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` audit rows where seconds matter. */
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":"AA+CA,oBAAoB;AACpB,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAE,MAAyB,GAAG,MAAM,CAE5E;AAED,8BAA8B;AAC9B,wBAAgB,cAAc,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAE,MAAyB,GAAG,MAAM,CAEhF;AAED,oEAAoE;AACpE,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAE,MAAyB,GAAG,MAAM,CAE3F;AAED,iBAAiB;AACjB,wBAAgB,UAAU,CAAC,IAAI,EAAE,IAAI,EAAE,EAAE,GAAE,MAAyB,GAAG,MAAM,CAE5E"}
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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@temboplus/frontend-core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "A JavaScript/TypeScript package providing common utilities and logic shared across front-end TemboPlus projects.",
5
5
  "author": "Okello Gerald",
6
6
  "license": "MIT",