lokalisierung
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
export class KeyHandoverDto {
|
export class KeyHandoverDto {
|
||||||
handoverId!: string;
|
handoverId!: string;
|
||||||
handoverDate!: Date;
|
handoverDate!: string;
|
||||||
place!: string;
|
place!: string;
|
||||||
|
|
||||||
giverName!: string;
|
giverName!: string;
|
||||||
|
|||||||
@@ -106,7 +106,7 @@ export class PdfService {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
">
|
">
|
||||||
<span>Übergabeprotokoll</span>
|
<span>Übergabeprotokoll</span>
|
||||||
<span>${new Date().toLocaleString()}</span>
|
<span>${new Date().toLocaleString("de-DE")}</span>
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
});
|
});
|
||||||
@@ -208,7 +208,7 @@ export class PdfService {
|
|||||||
<div class="section-title">Übergabedaten</div>
|
<div class="section-title">Übergabedaten</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<span class="label">Datum der Übergabe:</span>
|
<span class="label">Datum der Übergabe:</span>
|
||||||
<span class="value">${this.escapeHtml(new Date(dto.handoverDate).toLocaleDateString())}</span>
|
<span class="value">${this.escapeHtml(new Date(dto.handoverDate).toLocaleDateString("de-DE"))}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" style="display: none">
|
<div class="row" style="display: none">
|
||||||
<span class="label">Ort:</span>
|
<span class="label">Ort:</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user