Skip to content

Commit

Permalink
feat: use reabable ts in activity created date
Browse files Browse the repository at this point in the history
  • Loading branch information
andostronaut committed Nov 8, 2024
1 parent b55aec4 commit b90b87d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/(studio)/studio/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import { Skeleton } from '@/components/ui/skeleton'

import { pocketbase } from '@/lib/pocketbase'
import { Report, Activity } from '@/lib/definitions'
import { readableTimestamp } from '@/lib/utils'

const data = [
{ name: 'Jan', total: 1200 },
Expand Down Expand Up @@ -126,6 +127,7 @@ const Page = () => {
<TableRow key={activity.id}>
<TableCell>{activity.type}</TableCell>
<TableCell>{activity.description}</TableCell>
<TableCell>{readableTimestamp(activity.created)}</TableCell>
<TableCell>{activity.device}</TableCell>
</TableRow>
))}
Expand Down

0 comments on commit b90b87d

Please sign in to comment.