From 0785e55d799f138978961b0b68b44cd6a3f7c624 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nikola=20Forr=C3=B3?= Date: Sun, 29 Apr 2018 20:16:15 +0200 Subject: [PATCH] Fix date format --- frontend/src/app/quotes/quotes.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/quotes/quotes.component.ts b/frontend/src/app/quotes/quotes.component.ts index 5466d5d..38a502e 100644 --- a/frontend/src/app/quotes/quotes.component.ts +++ b/frontend/src/app/quotes/quotes.component.ts @@ -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'); }