Merge pull request 'fix(boot_date): Date.vnUTC return new Date()' (!1328) from fix_Date_vnUTC into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #1328 Reviewed-by: Joan Sanchez <joan@verdnatura.es>
This commit is contained in:
commit
989b1ea3fe
|
@ -4,7 +4,7 @@ module.exports = () => {
|
||||||
if (!env || env === 'development')
|
if (!env || env === 'development')
|
||||||
return new Date(Date.UTC(2001, 0, 1, 11));
|
return new Date(Date.UTC(2001, 0, 1, 11));
|
||||||
|
|
||||||
return new Date(Date.UTC());
|
return new Date();
|
||||||
};
|
};
|
||||||
|
|
||||||
Date.vnNew = () => {
|
Date.vnNew = () => {
|
||||||
|
|
Loading…
Reference in New Issue