acsi-core 1.2.19 → 1.2.21
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/index.js +37 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +37 -9
- package/dist/index.modern.js.map +1 -1
- package/dist/utils/utcToLocalTime.d.ts +0 -7
- package/package.json +1 -1
|
@@ -1,9 +1,2 @@
|
|
|
1
1
|
declare const _default: (time: string, FORMAT?: string | undefined) => string;
|
|
2
|
-
/**
|
|
3
|
-
* Convert a UTC time string to a formatted date string, optionally applying a timezone.
|
|
4
|
-
*
|
|
5
|
-
* - If `timezone` is omitted, the result is converted to the local machine timezone.
|
|
6
|
-
* - If `timezone` is an offset (e.g., "UTC+2", "+02:00"), the offset is applied to the UTC time.
|
|
7
|
-
* - If `timezone` is a named IANA zone (e.g., "Asia/Ho_Chi_Minh"), the time is converted to that zone.
|
|
8
|
-
*/
|
|
9
2
|
export default _default;
|