Skip to content

Commit 86c3a1a

Browse files
author
dashdashzako
committed
Use ISO dates instead of timestamps for events
1 parent 72c66bb commit 86c3a1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/middleware/analytics.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ const analytics: Middleware = (store) => (next) => (
9191
const state: IAianaState = store.getState();
9292

9393
const playerEvent = {
94-
createdAt: Date.now(),
94+
createdAt: new Date().toISOString(),
9595
eventName: action.type,
9696
mediaId: state.player.mediaId,
9797
player: {

0 commit comments

Comments
 (0)