nhb-toolbox 4.26.40 → 4.26.41
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/CHANGELOG.md +4 -0
- package/dist/dts/date/Chronos.d.ts +5 -5
- package/dist/dts/date/utils.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -151,15 +151,15 @@ export declare class Chronos {
|
|
|
151
151
|
get [Symbol.toStringTag](): string;
|
|
152
152
|
get [Symbol.isConcatSpreadable](): boolean;
|
|
153
153
|
/**
|
|
154
|
-
* @instance Retrieves the local system's current
|
|
154
|
+
* @instance Retrieves the local system's current time zone name (e.g., `"Bangladesh Standard Time"`), or falls back to its corresponding IANA time zone identifier (e.g., `"Asia/Dhaka"`) if the name cannot be determined.
|
|
155
155
|
*
|
|
156
156
|
* @remarks
|
|
157
|
-
* - This method always reflects the local machine's
|
|
158
|
-
* - To access the
|
|
157
|
+
* - This method always reflects the local machine's time zone, regardless of whether {@link timeZone}, {@link utc}, or {@link toUTC} methods have been applied.
|
|
158
|
+
* - To access the time zone name of a modified or converted instance, use the {@link timeZoneName} public property instead.
|
|
159
159
|
*
|
|
160
|
-
* @param tzId Optional time zone identifier to get time zone name for that identifier.
|
|
160
|
+
* @param tzId Optional time zone identifier to get time zone name for that specific identifier if available.
|
|
161
161
|
*
|
|
162
|
-
* @returns The resolved
|
|
162
|
+
* @returns The resolved time zone name or its IANA identifier as a fallback.
|
|
163
163
|
*/
|
|
164
164
|
$getNativeTimeZoneName(tzId?: TimeZoneIdentifier): LooseLiteral<TimeZoneName | TimeZoneIdentifier>;
|
|
165
165
|
/**
|
package/dist/dts/date/utils.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare function convertMinutesToTime(minutes: Numeric): HourMinutes;
|
|
|
56
56
|
*/
|
|
57
57
|
export declare function formatUTCOffset(minutes: Numeric): UTCOffset;
|
|
58
58
|
/**
|
|
59
|
-
* * Retrieves comprehensive
|
|
59
|
+
* * Retrieves comprehensive time zone details using the {@link Intl} API.
|
|
60
60
|
* @param tzId Optional timezone identifier; defaults to the system timezone.
|
|
61
61
|
* @param date Optional date for which to resolve the information.
|
|
62
62
|
* @returns Object containing identifier, names, and offset.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nhb-toolbox",
|
|
3
|
-
"version": "4.26.
|
|
3
|
+
"version": "4.26.41",
|
|
4
4
|
"description": "A versatile collection of smart, efficient, and reusable utility functions, classes and types for everyday development needs.",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|