Skip to content

Commit

Permalink
Add :ss to eclipse times
Browse files Browse the repository at this point in the history
  • Loading branch information
sharph committed Jan 21, 2024
1 parent 5b30bc7 commit 9150c37
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/lib/EclipseClock.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,12 @@
function formatCalendar(date: Date) {
return dayjs.utc(date).tz(tz).calendar(null, {
sameDay: "[Today at] h:mm A",
nextDay: "[Tomorrow at] h:mm A",
nextWeek: "dddd [at] h:mm A",
lastDay: "[Yesterday at] h:mm A",
lastWeek: "[Last] dddd [at] h:mm A",
sameElse: "dddd, MMMM D [at] h:mm A",
sameDay: "[Today at] h:mm:ss A",
nextDay: "[Tomorrow at] h:mm:ss A",
nextWeek: "dddd [at] h:mm:ss A",
lastDay: "[Yesterday at] h:mm:ss A",
lastWeek: "[Last] dddd [at] h:mm:ss A",
sameElse: "dddd, MMMM D [at] h:mm:ss A",
});
}
</script>
Expand Down

0 comments on commit 9150c37

Please sign in to comment.