@waiting/shared-core
Advanced tools
Comparing version 23.1.0 to 23.1.1
@@ -11,3 +11,3 @@ import { ISO8601String } from '@waiting/shared-types'; | ||
export declare const dateTimeFormatterCN: Intl.DateTimeFormat; | ||
export declare function formatDateTime(input: number | string | Date, locales?: string | string[], options?: Intl.DateTimeFormatOptions): any; | ||
export declare function formatDateTime(input: number | string | Date, locales?: string | string[], options?: Intl.DateTimeFormatOptions): string; | ||
//# sourceMappingURL=date.d.ts.map |
{ | ||
"name": "@waiting/shared-core", | ||
"author": "waiting", | ||
"version": "23.1.0", | ||
"version": "23.1.1", | ||
"description": "node core function re export with Promise or Observable", | ||
@@ -77,3 +77,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "d1e6ffd6ca253e27f5aabd6a70554f35c3fd5587" | ||
"gitHead": "bc001a7b45c0f92942d8409a7ed310b18a76c5e0" | ||
} |
@@ -35,4 +35,2 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ | ||
export const defaultDateTimeFormatOptions: Intl.DateTimeFormatOptions = { | ||
@@ -56,3 +54,3 @@ year: 'numeric', | ||
options?: Intl.DateTimeFormatOptions, | ||
): any { | ||
): string { | ||
@@ -59,0 +57,0 @@ const dateFormatter = locales && options |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
132694