diff --git a/docs/widgets.md b/docs/widgets.md index 7829ce88..b35c23c6 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -69,6 +69,7 @@ A simple, live-updating time and date widget with time-zone support. All fields --- | --- | --- | --- **`timeZone`** | `string` | _Optional_ | The time zone to display date and time in.
Specified as Region/City, for example: `Australia/Melbourne`. See the [Time Zone DB](https://timezonedb.com/time-zones) for a full list of supported TZs. Defaults to the browser / device's local time **`format`** | `string` | _Optional_ | A country code for displaying the date and time in local format.
Specified as `[ISO-3166]-[ISO-639]`, for example: `en-AU`. See [here](https://www.fincher.org/Utilities/CountryLanguageList.shtml) for a full list of locales. Defaults to the browser / device's region +**`customCityName`** | `string` | _Optional_ | By default the city from the time-zone is shown, but setting this value will override that text **`hideDate`** | `boolean` | _Optional_ | If set to `true`, the date and city will not be shown. Defaults to `false` ##### Example diff --git a/src/components/Widgets/Clock.vue b/src/components/Widgets/Clock.vue index 04bae1cc..d4aa0aea 100644 --- a/src/components/Widgets/Clock.vue +++ b/src/components/Widgets/Clock.vue @@ -1,7 +1,7 @@