@leapdevuk/component-toolbox 0.0.124 → 0.0.125

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.0.125 (2025-07-09)
4
+
5
+ ### Features
6
+
7
+ - Utility function formatReportDate now accepts a locale object, replacing the previous locale code string
8
+
3
9
  ## 0.0.124 (2025-07-08)
4
10
 
5
11
  ### Features
@@ -16,7 +16,7 @@ export declare const formatDate: (date?: Date | null, startOfDate?: boolean, end
16
16
  export declare const parseDate: (date: any, formatString: string | undefined, localDateformat: string, parseKeyboardVal?: boolean) => string | null;
17
17
  export declare const getLocale: (leapContext?: LeapContext) => Locale | undefined;
18
18
  export declare const lctFormatDateTime: (value?: string | Date, locale?: Locale, isUtc?: boolean, dateOnly?: boolean, show24H?: boolean) => string;
19
- export declare const formatReportDate: (date: string | null, locale?: string) => string;
19
+ export declare const formatReportDate: (date: string | null, locale: Locale) => string;
20
20
  /**
21
21
  * @deprecated The method should not be used
22
22
  */