Compare commits

...

6 commits

5 changed files with 11 additions and 11 deletions

View file

@ -1,3 +1,3 @@
# IF Salas Web
Cliente web para a plataforma de ensino de código aberto.
Cliente web para a plataforma de ensino de código aberto...

View file

@ -86,7 +86,7 @@ function View({ assignment, dropzone, layoutType }) {
<Typography sx={subHeaderTypography} variant="body1" component="div">
<strong>Data de entrega: </strong>
{capitalizeFirstLetter(
dayjs(assignment.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(assignment.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
</Stack>

View file

@ -148,7 +148,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
>
<strong>Data de entrega: </strong>{' '}
{capitalizeFirstLetter(
dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
<Typography
@ -196,7 +196,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
>
<strong>Data de entrega: </strong>{' '}
{capitalizeFirstLetter(
dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
<Typography
@ -326,7 +326,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
>
<strong>Data de entrega: </strong>{' '}
{capitalizeFirstLetter(
dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
<Typography
@ -374,7 +374,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
>
<strong>Data de entrega: </strong>{' '}
{capitalizeFirstLetter(
dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
<Typography

View file

@ -122,7 +122,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
>
<strong>Data de entrega: </strong>{' '}
{capitalizeFirstLetter(
dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
<Typography
@ -170,7 +170,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
>
<strong>Data de entrega: </strong>{' '}
{capitalizeFirstLetter(
dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
<Typography
@ -294,7 +294,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
>
<strong>Data de entrega: </strong>{' '}
{capitalizeFirstLetter(
dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
<Typography
@ -342,7 +342,7 @@ function AssignmentsTab({ assignmentsTabData, layoutType }) {
>
<strong>Data de entrega: </strong>{' '}
{capitalizeFirstLetter(
dayjs(a.dueDate).format('dddd, DD/MM | HH:mm[h]')
dayjs(a.dueDate).format('dddd, DD/MM, HH:mm[h]')
)}
</Typography>
<Typography

View file

@ -7,7 +7,7 @@ function hasUpperCase(str) {
}
function hasSpecialChars(str) {
const specialChars = /[`!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/;
const specialChars = /[`!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~]/;
return specialChars.test(str);
}