@ztimson/utils 0.29.1 → 0.29.2
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.cjs +44 -10
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +44 -10
- package/dist/index.mjs.map +1 -1
- package/dist/time.d.ts +1 -1
- package/package.json +1 -1
package/dist/time.d.ts
CHANGED
|
@@ -56,7 +56,7 @@ export declare function dayOfYear(date: Date): number;
|
|
|
56
56
|
*
|
|
57
57
|
* @param {string} format How date string will be formatted, default: `YYYY-MM-DD H:mm A`
|
|
58
58
|
* @param {Date | number | string} date Date or timestamp, defaults to now
|
|
59
|
-
* @param tz Set timezone offset
|
|
59
|
+
* @param tz Set timezone offset in: hours (-4) or minutes (430) or IANA string (America/New_York)
|
|
60
60
|
* @return {string} Formated date
|
|
61
61
|
*/
|
|
62
62
|
export declare function formatDate(format?: string, date?: Date | number | string, tz?: string | number): string;
|