mirror of
https://github.com/sussy-code/backend.git
synced 2026-04-18 23:42:03 +00:00
Use movie-web birthday
This commit is contained in:
parent
e5c3cde51b
commit
4129b80828
1 changed files with 2 additions and 2 deletions
|
|
@ -211,8 +211,8 @@ export const userProgressRouter = makeRouter((app) => {
|
|||
);
|
||||
});
|
||||
|
||||
// 1st August 2021 - movie-web epoch
|
||||
const minEpoch = 1627776000000;
|
||||
// 13th July 2021 - movie-web epoch
|
||||
const minEpoch = 1626134400000;
|
||||
|
||||
function defaultAndCoerceDateTime(dateTime: string | undefined) {
|
||||
const epoch = dateTime ? new Date(dateTime).getTime() : Date.now();
|
||||
|
|
|
|||
Loading…
Reference in a new issue