diff --git a/src/components/Incident.svelte b/src/components/Incident.svelte
index dc70c64..dc716b2 100644
--- a/src/components/Incident.svelte
+++ b/src/components/Incident.svelte
@@ -95,10 +95,10 @@
? config.i18n.startedAt
: config.i18n.startsAt}
- {new Date(incident.metadata.start).toLocaleString()}
+ {new Date(incident.metadata.start).toLocaleString(config.i18n.locale)}
{:else}
{config.i18n.incidentOpenedAt}
- {new Date(incident.created_at).toLocaleString()}
+ {new Date(incident.created_at).toLocaleString(config.i18n.locale)}
{/if}
{#if incident.metadata.start && incident.metadata.end}
{config.i18n.duration}
@@ -114,7 +114,7 @@
{:else if incident.closed_at}
{config.i18n.incidentClosedAt}
- {new Date(incident.closed_at).toLocaleString()}
+ {new Date(incident.closed_at).toLocaleString(config.i18n.locale)}
{/if}
@@ -134,7 +134,7 @@
{@html config.i18n.incidentCommentSummary
.replace(
/\$DATE/g,
- `${new Date(comment.created_at).toLocaleString()}`
+ `${new Date(comment.created_at).toLocaleString(config.i18n.locale)}`
)
.replace(/\$AUTHOR/g, `@${comment.user.login}`)}
diff --git a/src/components/Incidents.svelte b/src/components/Incidents.svelte
index c82c4cf..08d537b 100644
--- a/src/components/Incidents.svelte
+++ b/src/components/Incidents.svelte
@@ -52,7 +52,7 @@
{config.i18n.pastIncidents}
{#each incidents as incident} {#if incident.showHeading} -{new Date(incident.created_at).toLocaleDateString()}
+{new Date(incident.created_at).toLocaleDateString(config.i18n.locale)}
{/if}
diff --git a/src/components/Scheduled.svelte b/src/components/Scheduled.svelte
index 8bd15ad..10bcb2e 100644
--- a/src/components/Scheduled.svelte
+++ b/src/components/Scheduled.svelte
@@ -46,7 +46,7 @@