UNPKG

@toreda/time

Version:

Simple, small footprint library for common time operations and converting between units of time.

11 lines (10 loc) 291 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.timeNowOffset = void 0; const now_1 = require("../now"); function timeNowOffset(offset) { const now = (0, now_1.timeNow)(); now.add(offset); return now; } exports.timeNowOffset = timeNowOffset;