From ddf8891b174e41d75e8fdf2da50f03df81aca566 Mon Sep 17 00:00:00 2001
From: Wilson Soler <wilsonrsajunior@gmail.com>
Date: Sun, 30 Jan 2022 01:56:21 +0000
Subject: [PATCH] Adding PT Language to Locale options

This commit will add the support for PT (Portuguese) language to the locale options consumed by the datepicker component.
---
 src/components/datepicker/locale/index.ts | 36 +++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/src/components/datepicker/locale/index.ts b/src/components/datepicker/locale/index.ts
index 3b0eada..32243db 100644
--- a/src/components/datepicker/locale/index.ts
+++ b/src/components/datepicker/locale/index.ts
@@ -227,6 +227,41 @@ const nl = (): any => {
   };
 };
 
+const pt = (): any => {
+  const langName = 'Português';
+  const monthFullName = [
+    'Janeiro',
+    'Fevereiro',
+    'Março',
+    'Abril',
+    'Maio',
+    'Junho',
+    'Julho',
+    'Agosto',
+    'Setembro',
+    'Outubro',
+    'Novembro',
+    'Dezembro',
+  ];
+  const shortName = ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'];
+  const days = ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'];
+  const daysNames = ['Domingo', 'Segunda-Feira', 'Terça-Feira', 'Quarta-Feira', 'Quinta-Feira', 'Sexta-Feira', 'Sábado'];
+  const rtl = false;
+  const ymd = false;
+  const yearSuffix = '';
+  return {
+    months: monthFullName,
+    monthsAbbr: shortName,
+    days,
+    language: langName,
+    yearSuffix,
+    ymd,
+    rtl,
+    langName,
+    daysNames,
+  };
+};
+
 export const data = {
   af: af(),
   hi: hi(),
@@ -235,4 +270,5 @@ export const data = {
   en: en(),
   fr: fr(),
   nl: nl(),
+  pt: pt(),
 };