This commit is contained in:
x2Skyz
2025-11-21 19:35:46 +07:00
parent 45259f7b8d
commit f0336a5ead
4 changed files with 12 additions and 8 deletions

View File

@@ -12,9 +12,9 @@ export class AccDateFormatPipe implements PipeTransform {
const str = value.toString();
if (str.length !== 12) return str;
const dd = str.slice(0, 2);
const mm = str.slice(2, 4);
const yyyy = str.slice(4, 8);
const yyyy = str.slice(0, 4);
const mm = str.slice(4, 6);
const dd = str.slice(6, 8);
const hh = str.slice(8, 10);
const min = str.slice(10, 12);