kupos-ui-components-lib 10.4.18 → 10.4.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -45,7 +45,7 @@ export const PaymentCardMobile = (props) => {
45
45
  const d = DateService.getDateFromDate(date);
46
46
  const month = DateService.getMonthNameFromDate(date);
47
47
  const year = DateService.getYearFromDate(date);
48
- return `${day ? day.charAt(0).toUpperCase() + day.slice(1) : ""}, ${d} de ${month ? month.toLowerCase() : ""} de ${year}`;
48
+ return `${day ? day.charAt(0).toUpperCase() + day.slice(1) : ""}, ${d} de ${month ? month.charAt(0).toUpperCase() + month.slice(1).toLowerCase() : ""} de ${year}`;
49
49
  };
50
50
  const formatSubText = (stage, time) => {
51
51
  if (!stage && !time)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kupos-ui-components-lib",
3
- "version": "10.4.18",
3
+ "version": "10.4.19",
4
4
  "description": "A reusable UI components package",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -108,7 +108,7 @@ export const PaymentCardMobile: React.FC<PaymentSideBarProps> = (props) => {
108
108
  const month = DateService.getMonthNameFromDate(date);
109
109
  const year = DateService.getYearFromDate(date);
110
110
  return `${day ? day.charAt(0).toUpperCase() + day.slice(1) : ""}, ${d} de ${
111
- month ? month.toLowerCase() : ""
111
+ month ? month.charAt(0).toUpperCase() + month.slice(1).toLowerCase() : ""
112
112
  } de ${year}`;
113
113
  };
114
114