First update.
This commit is contained in:
8
GetLocalTime.js
Normal file
8
GetLocalTime.js
Normal file
@@ -0,0 +1,8 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getLocalTime = getLocalTime;
|
||||
function getLocalTime() {
|
||||
const now = new Date();
|
||||
now.setHours(now.getHours() + 8);
|
||||
return now;
|
||||
}
|
Reference in New Issue
Block a user