summaryrefslogtreecommitdiff
path: root/date-fns/src/locale/hu/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'date-fns/src/locale/hu/index.js')
-rw-r--r--date-fns/src/locale/hu/index.js33
1 files changed, 33 insertions, 0 deletions
diff --git a/date-fns/src/locale/hu/index.js b/date-fns/src/locale/hu/index.js
new file mode 100644
index 0000000..13e9cb4
--- /dev/null
+++ b/date-fns/src/locale/hu/index.js
@@ -0,0 +1,33 @@
+import formatDistance from './_lib/formatDistance/index'
+import formatLong from './_lib/formatLong/index'
+import formatRelative from './_lib/formatRelative/index'
+import localize from './_lib/localize/index'
+import match from './_lib/match/index'
+
+/**
+ * @type {Locale}
+ * @category Locales
+ *
+ * @summary Hungarian locale.
+ * @language Hungarian
+ *
+ * @iso-639-2 hun
+ *
+ * @author Pavlo Shpak [@pshpak]{@link https://github.com/pshpak}
+ * @author Eduardo Pardo [@eduardopsll]{@link https://github.com/eduardopsll}
+ * @author Zoltan Szepesi [@twodcube]{@link https://github.com/twodcube}
+ */
+var locale = {
+ code: 'hu',
+ formatDistance: formatDistance,
+ formatLong: formatLong,
+ formatRelative: formatRelative,
+ localize: localize,
+ match: match,
+ options: {
+ weekStartsOn: 1 /* Monday */,
+ firstWeekContainsDate: 4
+ }
+}
+
+export default locale