rillstone / ella

Research project for fourth year studies at the University of Auckland
2 stars 0 forks source link

[BUG] Date is not formatted correctly (or at all) with toLocaleDateString #25

Closed swimuel closed 5 years ago

swimuel commented 5 years ago

Describe the bug Date object not being formatted properly with toLocaleDateString - always produces DD/MM/YY

To reproduce Steps to reproduce the behavior: check date on any transaction and see it is not how it should be formatted

Expected behavior / Acceptance criteria formatted correctly

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Related issues Reference related issues here

swimuel commented 5 years ago

Closed - fixed by using moment.js