Skip to content

OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.

feat(dashboard): formatTime add seconds (#59)

Marc Köhler5b9e74986654
diff --git a/apps/dashboard/src/utils/date.ts b/apps/dashboard/src/utils/date.ts
index 5b1e05a3f..ddc78223c 100644
--- a/apps/dashboard/src/utils/date.ts
+++ b/apps/dashboard/src/utils/date.ts
@@ -43,6 +43,7 @@ export function formatTime(date: Date) {
return new Intl.DateTimeFormat(getLocale(), {
hour: 'numeric',
minute: 'numeric',
+ second: 'numeric',
}).format(date);
}