Add .gitignore to exclude all node packages and lock files
This commit is contained in:
Generated
Vendored
+11
@@ -0,0 +1,11 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.fromUnixTimestamp = void 0;
|
||||
const fromUnixTimestamp = (value) => {
|
||||
if (value === null) {
|
||||
return 0;
|
||||
}
|
||||
const baseDate = new Date('1904-01-01T00:00:00Z');
|
||||
return Math.floor(value / 1000 - baseDate.getTime() / 1000);
|
||||
};
|
||||
exports.fromUnixTimestamp = fromUnixTimestamp;
|
||||
Reference in New Issue
Block a user