2023-01-23 14:16:42 +00:00
|
|
|
// try import 'vn-loopback/server/boot/date';
|
2023-01-17 14:36:39 +00:00
|
|
|
|
2023-01-23 14:16:42 +00:00
|
|
|
Date.vnUTC = () => {
|
|
|
|
return new Date(Date.UTC(2022, 5, 15, 11));
|
2023-01-17 14:36:39 +00:00
|
|
|
};
|
|
|
|
|
2023-01-16 14:18:00 +00:00
|
|
|
Date.vnNew = () => {
|
2023-01-23 14:16:42 +00:00
|
|
|
return new Date(Date.UTC(2022, 5, 15, 11));
|
2023-01-16 14:18:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
Date.vnNow = () => {
|
2023-01-23 14:16:42 +00:00
|
|
|
return new Date(Date.UTC(2022, 5, 15, 11)).getTime();
|
2023-01-16 14:18:00 +00:00
|
|
|
};
|