@naturalcycles/time-lib
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,8 @@ | ||
## [1.0.1](https://github.com/NaturalCycles/time-lib/compare/v1.0.0...v1.0.1) (2019-05-19) | ||
### Bug Fixes | ||
* exporting dayjs extended ([41a5d15](https://github.com/NaturalCycles/time-lib/commit/41a5d15)) | ||
# 1.0.0 (2019-05-19) | ||
@@ -2,0 +9,0 @@ |
@@ -1,4 +0,4 @@ | ||
import dayjs = require('dayjs'); | ||
import { DAYJS_ISO_DATE, DAYJS_PRETTY_TIME } from './dayjs.plugins'; | ||
import { DAYJS_2018_06_21, ms, nowPretty, nowUnix, since, todayIso } from './time.util'; | ||
export { dayjs, DAYJS_ISO_DATE, DAYJS_PRETTY_TIME, DAYJS_2018_06_21, nowUnix, nowPretty, todayIso, since, ms, }; | ||
import { dayjs, DAYJS_2018_06_21, ms, nowPretty, nowUnix, since, todayIso } from './time.util'; | ||
export { dayjs, // should be imported from time.util, cause it's an extended version | ||
DAYJS_ISO_DATE, DAYJS_PRETTY_TIME, DAYJS_2018_06_21, nowUnix, nowPretty, todayIso, since, ms, }; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dayjs = require("dayjs"); | ||
exports.dayjs = dayjs; | ||
const dayjs_plugins_1 = require("./dayjs.plugins"); | ||
@@ -9,2 +7,3 @@ exports.DAYJS_ISO_DATE = dayjs_plugins_1.DAYJS_ISO_DATE; | ||
const time_util_1 = require("./time.util"); | ||
exports.dayjs = time_util_1.dayjs; | ||
exports.DAYJS_2018_06_21 = time_util_1.DAYJS_2018_06_21; | ||
@@ -11,0 +10,0 @@ exports.ms = time_util_1.ms; |
import dayjs = require('dayjs'); | ||
export { dayjs }; | ||
export declare const DAYJS_2018_06_21: dayjs.Dayjs; | ||
@@ -3,0 +4,0 @@ export declare function nowUnix(): number; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const dayjs = require("dayjs"); | ||
exports.dayjs = dayjs; | ||
const utc = require("dayjs/plugin/utc"); | ||
@@ -5,0 +6,0 @@ const dayjs_plugins_1 = require("./dayjs.plugins"); |
@@ -34,3 +34,3 @@ { | ||
}, | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Date/time related API, based on DayJS", | ||
@@ -37,0 +37,0 @@ "keywords": [ |
@@ -1,7 +0,6 @@ | ||
import dayjs = require('dayjs') | ||
import { DAYJS_ISO_DATE, DAYJS_PRETTY_TIME } from './dayjs.plugins' | ||
import { DAYJS_2018_06_21, ms, nowPretty, nowUnix, since, todayIso } from './time.util' | ||
import { dayjs, DAYJS_2018_06_21, ms, nowPretty, nowUnix, since, todayIso } from './time.util' | ||
export { | ||
dayjs, | ||
dayjs, // should be imported from time.util, cause it's an extended version | ||
DAYJS_ISO_DATE, | ||
@@ -8,0 +7,0 @@ DAYJS_PRETTY_TIME, |
@@ -7,2 +7,5 @@ import dayjs = require('dayjs') | ||
// export modified dayjs | ||
export { dayjs } | ||
export const DAYJS_2018_06_21 = dayjs('2018-06-21') | ||
@@ -9,0 +12,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9149
180