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

253
Views
angular date pipe affects date display

Why is that when I display the date using the pipe date:'MM/dd/YYYY' when the value is 2022-01-01T00:00:00 it is showing 1/01/2021 , it should be 1/01/2022 but it only occurs on this date why is that ?

As you can see the value of pharmacyRestrictionDate is 2022-01-01T00:00:00 why is it displaying 1/01/2021 ? but when I remove the pipe the date is correct. Any idea?

enter image description here

#html code

  <div> Until {{dealData.dealTypeValues.pharmacyRestrictionDate | date:'MM/dd/YYYY'}}</div>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

enter image description here

Until {{dealData.dealTypeValues.pharmacyRestrictionDate | date:'MM/dd/yyyy'}}
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!