Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: ticks should display in local time or utc time based on flag.

TzeYiing6ff0a7cb2f8e
diff --git a/studio/components/ui/Charts/BarChart.tsx b/studio/components/ui/Charts/BarChart.tsx
index bde773eb9f7..938124bd744 100644
--- a/studio/components/ui/Charts/BarChart.tsx
+++ b/studio/components/ui/Charts/BarChart.tsx
@@ -122,8 +122,8 @@ const BarChart = ({
</Container>
{data && (
<div className="text-scale-900 -mt-9 flex items-center justify-between text-xs">
- <span>{dayjs(data[0][xAxisKey]).format(customDateFormat)}</span>
- <span>{dayjs(data[data?.length - 1]?.[xAxisKey]).format(customDateFormat)}</span>
+ <span>{day(data[0][xAxisKey]).format(customDateFormat)}</span>
+ <span>{day(data[data?.length - 1]?.[xAxisKey]).format(customDateFormat)}</span>
</div>
)}
</div>