From f86c07155b22b5bf8a0ee3d1d9d5a8b4e57ded5f Mon Sep 17 00:00:00 2001 From: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 14 Nov 2023 07:23:57 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Documentation=20auto-update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/utils/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/utils/README.md b/packages/utils/README.md index e2143a34..94a829c0 100644 --- a/packages/utils/README.md +++ b/packages/utils/README.md @@ -239,15 +239,15 @@ Parameters: Convert seconds to a human-readable duration, such as "6 days, 10 hours." -| Function | Type | -| ------------------- | ----------------------------- | -| `secondsToDuration` | `(seconds: bigint) => string` | +| Function | Type | +| ------------------- | ------------------------------------------------------------------------------------ | +| `secondsToDuration` | `({ seconds, i18n, }: { seconds: bigint; i18n?: I18nSecondsToDuration; }) => string` | Parameters: -- `seconds`: - The number of seconds to convert. +- `options`: - The options object. -[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/utils/src/utils/date.utils.ts#L10) +[:link: Source](https://github.com/dfinity/ic-js/tree/main/packages/utils/src/utils/date.utils.ts#L43) #### :gear: debounce