summaryrefslogtreecommitdiff
path: root/date-fns/src/locale/en-NZ/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'date-fns/src/locale/en-NZ/index.js')
-rw-r--r--date-fns/src/locale/en-NZ/index.js28
1 files changed, 28 insertions, 0 deletions
diff --git a/date-fns/src/locale/en-NZ/index.js b/date-fns/src/locale/en-NZ/index.js
new file mode 100644
index 0000000..95cac51
--- /dev/null
+++ b/date-fns/src/locale/en-NZ/index.js
@@ -0,0 +1,28 @@
+import formatDistance from '../en-US/_lib/formatDistance/index'
+import formatLong from './_lib/formatLong/index'
+import formatRelative from '../en-US/_lib/formatRelative/index'
+import localize from '../en-US/_lib/localize/index'
+import match from '../en-US/_lib/match/index'
+
+/**
+ * @type {Locale}
+ * @category Locales
+ * @summary English locale (New Zealand).
+ * @language English
+ * @iso-639-2 eng
+ * @author Murray Lucas [@muntact]{@link https://github.com/muntact}
+ */
+var locale = {
+ code: 'en-NZ',
+ formatDistance: formatDistance,
+ formatLong: formatLong,
+ formatRelative: formatRelative,
+ localize: localize,
+ match: match,
+ options: {
+ weekStartsOn: 1 /* Monday */,
+ firstWeekContainsDate: 4
+ }
+}
+
+export default locale