summaryrefslogtreecommitdiff
path: root/date-fns/src/locale/pt-BR/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'date-fns/src/locale/pt-BR/index.js')
-rw-r--r--date-fns/src/locale/pt-BR/index.js29
1 files changed, 29 insertions, 0 deletions
diff --git a/date-fns/src/locale/pt-BR/index.js b/date-fns/src/locale/pt-BR/index.js
new file mode 100644
index 0000000..a4dd002
--- /dev/null
+++ b/date-fns/src/locale/pt-BR/index.js
@@ -0,0 +1,29 @@
+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 Portuguese locale (Brazil).
+ * @language Portuguese
+ * @iso-639-2 por
+ * @author Lucas Duailibe [@duailibe]{@link https://github.com/duailibe}
+ * @author Yago Carballo [@yagocarballo]{@link https://github.com/YagoCarballo}
+ */
+var locale = {
+ code: 'pt-BR',
+ formatDistance: formatDistance,
+ formatLong: formatLong,
+ formatRelative: formatRelative,
+ localize: localize,
+ match: match,
+ options: {
+ weekStartsOn: 0 /* Sunday */,
+ firstWeekContainsDate: 1
+ }
+}
+
+export default locale