Skip to content

Commit

Permalink
Merge pull request #5 from Sprudeel/exact-rotation-time
Browse files Browse the repository at this point in the history
Display exact Rotation time
  • Loading branch information
Sprudeel committed Apr 25, 2023
2 parents e4f06ec + 8fff66c commit 6ae0002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/js/Pages/Aemtli/Aemtli.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const props = defineProps({
function formatDate(dateString) {
const date = new Date(dateString);
// Then specify how you want your dates to be formatted
return new Intl.DateTimeFormat("default", { dateStyle: "long" }).format(
return new Intl.DateTimeFormat("default", { dateStyle: "short", timeStyle: "short" }).format(
date
);
}
Expand Down

0 comments on commit 6ae0002

Please sign in to comment.