Use movie-web birthday

This commit is contained in:
William Oldham
2023-12-06 19:49:30 +00:00
parent e5c3cde51b
commit 4129b80828

View File

@@ -211,8 +211,8 @@ export const userProgressRouter = makeRouter((app) => {
); );
}); });
// 1st August 2021 - movie-web epoch // 13th July 2021 - movie-web epoch
const minEpoch = 1627776000000; const minEpoch = 1626134400000;
function defaultAndCoerceDateTime(dateTime: string | undefined) { function defaultAndCoerceDateTime(dateTime: string | undefined) {
const epoch = dateTime ? new Date(dateTime).getTime() : Date.now(); const epoch = dateTime ? new Date(dateTime).getTime() : Date.now();