aboutsummaryrefslogtreecommitdiff
path: root/src/definitions/date.ts
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-06-21 11:44:57 +0200
committerGitHub <[email protected]>2024-06-21 09:44:57 +0000
commitd6924f7fbb9403d106022f58a1bda3b159e88ae6 (patch)
tree36ed943a8ea837a4538073c7e51b6ed831cb190d /src/definitions/date.ts
parent5801cc5cad8324a114d08733fafa31f7632d1118 (diff)
downloadfaker-d6924f7fbb9403d106022f58a1bda3b159e88ae6.tar.xz
faker-d6924f7fbb9403d106022f58a1bda3b159e88ae6.zip
feat(date)!: separate timeZone method (#2947)
Diffstat (limited to 'src/definitions/date.ts')
-rw-r--r--src/definitions/date.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/definitions/date.ts b/src/definitions/date.ts
index 2265a025..1a3d073b 100644
--- a/src/definitions/date.ts
+++ b/src/definitions/date.ts
@@ -13,6 +13,15 @@ export type DateDefinition = LocaleEntry<{
* The translations for weekdays (Sunday - Saturday).
*/
weekday: DateEntryDefinition;
+
+ /**
+ * The names of the IANA time zones. Not tied to the current locale.
+ *
+ * Since this is the same for all locales, it is only defined in the `base` locale.
+ *
+ * @see [IANA Time Zone Database](https://www.iana.org/time-zones)
+ */
+ time_zone: string[];
}>;
/**