Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

118
Views
Fecha de conversión angular a fecha larga a través de tubería en la plantilla

Por ejemplo, tengo una entrada de fecha como 2022-04-02T00:00:00 cuando uso {{data?.dateStarted | date:'MM/dd/YYYY'}} la salida sería el 02/04/2022. Pero, ¿cómo convertimos a Long Date como el 2 de abril de 2022?

¿Alguna idea chicos? realmente lo agradecería, gracias. Saludos.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Usaría Momentjs, hace que la conversión de fechas sea mucho más fácil con un código limpio. Verifique esto para todos los formatos posibles: https://momentjs.com/

 npm install --save moment import * as moment from 'moment'; const formattedDate = moment(this.existingDate).format('MMM Do YY');
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!