Skip to content

Commit

Permalink
🐛 Use always German locale for dates
Browse files Browse the repository at this point in the history
  • Loading branch information
gglnx committed May 22, 2024
1 parent e70daac commit b6949f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/StateStats.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,6 @@ defineProps({
function formatDate(dateString) {
const date = new Date(dateString);
return new Intl.DateTimeFormat('default', { dateStyle: 'long' }).format(date);
return new Intl.DateTimeFormat('de-DE', { dateStyle: 'long' }).format(date);
}
</script>

0 comments on commit b6949f9

Please sign in to comment.