Skip to content

Commit

Permalink
feat(src/pages/therapies-description/index.js): adicionamos o timer d…
Browse files Browse the repository at this point in the history
…entro do new date para adicinar as 3horas que o new date nao tem! -@angeloneves19 -@thayanneregoo -@Ester-Arruda
  • Loading branch information
angeloneves19 committed Feb 5, 2024
1 parent fb51d98 commit f3bab4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/therapies-description/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ export const DetailsTherapies = () => {
<FontAwesomeIcon icon={faCalendarDays} size="lg" />{' '}
<p>{`
${handleDate(
new Date(therapies.attributes?.data_inicio)
new Date(`${therapies.attributes?.data_inicio}T00:00:00-0300`)
)}
${therapies.attributes?.horario_inicio} >
${handleDate(new Date(therapies.attributes?.data_fim))}
${handleDate(new Date(`${therapies.attributes?.data_fim}T00:00:00-0300`))}
${therapies.attributes?.horario_fim}
`}</p>
</div>
Expand Down

0 comments on commit f3bab4b

Please sign in to comment.