Skip to content

Commit

Permalink
fix(calendar): always display two digits of minutes (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanwalsulehri authored Jan 22, 2025
1 parent 1285686 commit a8d34e0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/calendar/CalendarEventPopover.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,9 @@ export default function CalendarEventPopover({
</div>
<p className="flex w-full whitespace-pre-wrap py-1 [overflow-wrap:anywhere]">
Calendar updated at:{" "}
{moment(event.extendedProps.updatedAt).format("DD.MM HH:m")}
{moment(event.extendedProps.updatedAt).format(
"DD.MM HH:mm",
)}
</p>
</div>
)}
Expand Down

0 comments on commit a8d34e0

Please sign in to comment.