Added navigation to account view

This commit is contained in:
Manuel Forcén Muñoz 2024-03-20 20:26:28 +01:00
parent d1e736d7a7
commit cf7fc2ec87
4 changed files with 76 additions and 26 deletions

View file

@ -28,19 +28,19 @@
['None', null],
['Date dd/mm/yyyy', el => {
let split = el.split('/');
return new Date(
return new Date(Date.UTC(
parseInt(split[2], 10),
parseInt(split[1], 10),
parseInt(split[1], 10)-1,
parseInt(split[0], 10),
);
));
}],
['Date yyyy/mm/dd', el => {
let split = el.split('/');
return new Date(
return new Date(Date.UTC(
parseInt(split[0], 10),
parseInt(split[1], 10),
parseInt(split[1], 10)-1,
parseInt(split[2], 10),
);
));
}],
['Description', el => el],
['Amount', el => parseFloat(el)]