Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

210
Vistas
Angular date pipe is displaying the incorrect date

I got this date 2021-10-08T23:47:34.000Z from the server and anytime i used the angular date pipe on it, it displaying Oct 9, 2021 instead of Oct 8, 2021

<ng-container matColumnDef="created_at">
      <th mat-header-cell *matHeaderCellDef>Date</th>
      <td mat-cell *matCellDef="let element">
        {{ element.created_at | date }}
      </td>
</ng-container>
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Angular's DatePipe uses locale to display the date, which means it changes it based on the user's timezone.

You can specify the timezone at the end of the pipe.

{{ element.created_at | date:'mediumDate':'UTC' }}
about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda