We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5471a20 commit 7576eceCopy full SHA for 7576ece
dashboard/src/components/dialogs/UserSubscriptionClientsModal.tsx
@@ -269,8 +269,8 @@ export const UserSubscriptionClientsModal: FC<UserSubscriptionClientsModalProps>
269
let timestamp: number | null = null
270
if (update.created_at) {
271
if (typeof update.created_at === 'string') {
272
- const date = new Date(update.created_at)
273
- timestamp = Math.floor(date.getTime() / 1000)
+ // Use dateUtils to properly convert ISO string to timestamp
+ timestamp = dateUtils.toDayjs(update.created_at).unix()
274
} else if (typeof update.created_at === 'number') {
275
timestamp = update.created_at
276
}
0 commit comments