diff --git a/src/screens/Assignment/View.js b/src/screens/Assignment/View.js index b4ecdbe..a84cd25 100644 --- a/src/screens/Assignment/View.js +++ b/src/screens/Assignment/View.js @@ -86,7 +86,7 @@ function View({ assignment, dropzone, layoutType }) { Data de entrega: {capitalizeFirstLetter( - dayjs(assignment.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(assignment.dueDate).format('dddd, DD/MM, HH:mm[h]') )} diff --git a/src/screens/professor/Classroom/AssignmentsTab/index.js b/src/screens/professor/Classroom/AssignmentsTab/index.js index 33ee9fa..5fd9e52 100644 --- a/src/screens/professor/Classroom/AssignmentsTab/index.js +++ b/src/screens/professor/Classroom/AssignmentsTab/index.js @@ -148,7 +148,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) { > Data de entrega: {' '} {capitalizeFirstLetter( - dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]') )} Data de entrega: {' '} {capitalizeFirstLetter( - dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]') )} Data de entrega: {' '} {capitalizeFirstLetter( - dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]') )} Data de entrega: {' '} {capitalizeFirstLetter( - dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]') )} Data de entrega: {' '} {capitalizeFirstLetter( - dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]') )} Data de entrega: {' '} {capitalizeFirstLetter( - dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]') )} Data de entrega: {' '} {capitalizeFirstLetter( - dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]') )} Data de entrega: {' '} {capitalizeFirstLetter( - dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]') + dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]') )} \/?~]/; + const specialChars = /[`!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~]/; return specialChars.test(str); }