@lambda-development/erp-core 0.6.8 → 0.6.10

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.
@@ -4,7 +4,9 @@ export declare function cn(...classes: (string | false | null | undefined)[]): s
4
4
  export declare function formatCurrency(value: number | null | undefined, currency?: string): string;
5
5
  /** Format a number with commas. */
6
6
  export declare function formatNumber(value: number | null | undefined, decimals?: number): string;
7
- /** Format a date string for display. */
7
+ /** Pin the locale used by formatDate (undefined = the viewer's browser locale). */
8
+ export declare function setDateLocale(locale: string | undefined): void;
9
+ /** Format a date string for display (numeric, day-first per the locale). */
8
10
  export declare function formatDate(value: string | null | undefined): string;
9
11
  /** Safely parse a float, defaulting to 0. */
10
12
  export declare function flt(value: unknown, precision?: number): number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lambda-development/erp-core",
3
- "version": "0.6.8",
3
+ "version": "0.6.10",
4
4
  "description": "Frontend core of Lambda ERP — app shell, document/master pages, chat UI, reports, and extension registries.",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {