mirror of
https://github.com/p-stream/backend.git
synced 2026-05-18 21:21:42 +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
|
// 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();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue