Skip to content
This repository was archived by the owner on Aug 10, 2024. It is now read-only.

Commit 00b7f92

Browse files
committed
FIX: user timestamps
1 parent eec4693 commit 00b7f92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cloudflare-worker/worker.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ async function getFeedSkeleton(request, env) {
231231
if (feedItem.reason !== undefined) {
232232
continue;
233233
}
234-
let timestamp = feedItem.post.record.createdAt;
234+
let timestampStr = feedItem.post.record.createdAt;
235+
let timestamp = new Date(timestampStr).valueOf() * 1000000;
235236
let atURL = feedItem.post.uri;
236237
timestampURLs.push([timestamp, atURL]);
237238
}

0 commit comments

Comments
 (0)