Fix date format

master
Nikola Forró 7 years ago
parent 7434dc787b
commit 0785e55d79

@ -95,7 +95,7 @@ export class QuotesComponent implements OnInit, AfterViewInit {
let lines = [];
for (const quote of quotes) {
let date = new DatePipe('en-US-POSIX').transform(quote.date, 'dd-MM-yyyy');
let date = new DatePipe('en-US-POSIX').transform(quote.date, 'dd/MM/yyyy');
lines.push('"' + quote.text + '" [' + quote.game + '] [' + date + ']\r\n');
}

Loading…
Cancel
Save