From 1ba91e394eb493dfdecbe0220c3a50799b053eb5 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 2 Jan 2025 19:10:57 -0800 Subject: [PATCH] Update customapi.md --- docs/widgets/services/customapi.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/widgets/services/customapi.md b/docs/widgets/services/customapi.md index 8a8fb6eb..0deb8294 100644 --- a/docs/widgets/services/customapi.md +++ b/docs/widgets/services/customapi.md @@ -67,7 +67,7 @@ Supported formats for the values are `text`, `number`, `float`, `percent`, `dura The `dateStyle` and `timeStyle` options of the `date` format are passed directly to [Intl.DateTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat) and the `style` and `numeric` options of `relativeDate` are passed to [Intl.RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat). The `duration` format expects the duration to be specified in seconds. The `scale` transformation tool can be used if a conversion is required. - + The `size` format will return the length of the array or string, or the number of keys in an object. This is then formatted as `number`. ## Example