@naturalcycles/time-lib
Advanced tools
Comparing version 1.6.7 to 1.7.0
@@ -0,1 +1,8 @@ | ||
# [1.7.0](https://github.com/NaturalCycles/time-lib/compare/v1.6.7...v1.7.0) (2020-02-10) | ||
### Features | ||
* add minMax plugin ([c0187ea](https://github.com/NaturalCycles/time-lib/commit/c0187ead764ddd4744a76efbe7bb6f595422c9c1)) | ||
## [1.6.7](https://github.com/NaturalCycles/time-lib/compare/v1.6.6...v1.6.7) (2019-11-14) | ||
@@ -2,0 +9,0 @@ |
@@ -6,2 +6,3 @@ import * as dayjs from 'dayjs'; | ||
import * as isSameOrBefore from 'dayjs/plugin/isSameOrBefore'; | ||
import * as minMax from 'dayjs/plugin/minMax'; | ||
import * as relativeTime from 'dayjs/plugin/relativeTime'; | ||
@@ -17,2 +18,3 @@ import * as utc from 'dayjs/plugin/utc'; | ||
dayjs.extend(isBetween); | ||
dayjs.extend(minMax); | ||
dayjs.extend(defaultPlugins); | ||
@@ -19,0 +21,0 @@ dayjs.extend(isoWeekdayPlugin); |
@@ -10,2 +10,3 @@ "use strict"; | ||
const isSameOrBefore = require("dayjs/plugin/isSameOrBefore"); | ||
const minMax = require("dayjs/plugin/minMax"); | ||
const relativeTime = require("dayjs/plugin/relativeTime"); | ||
@@ -21,2 +22,3 @@ const utc = require("dayjs/plugin/utc"); | ||
dayjs.extend(isBetween); | ||
dayjs.extend(minMax); | ||
dayjs.extend(default_1.defaultPlugins); | ||
@@ -23,0 +25,0 @@ dayjs.extend(isoWeekday_1.isoWeekdayPlugin); |
@@ -13,4 +13,4 @@ { | ||
"@naturalcycles/test-lib": "^1.0.0", | ||
"@types/node": "^12.0.2", | ||
"jest": "^24.8.0", | ||
"@types/node": "^13.7.0", | ||
"jest": "^25.1.0", | ||
"moment": "^2.24.0" | ||
@@ -43,3 +43,3 @@ }, | ||
}, | ||
"version": "1.6.7", | ||
"version": "1.7.0", | ||
"description": "Date/time related API, based on DayJS", | ||
@@ -46,0 +46,0 @@ "keywords": [ |
@@ -6,2 +6,3 @@ import * as dayjs from 'dayjs' | ||
import * as isSameOrBefore from 'dayjs/plugin/isSameOrBefore' | ||
import * as minMax from 'dayjs/plugin/minMax' | ||
import * as relativeTime from 'dayjs/plugin/relativeTime' | ||
@@ -18,2 +19,3 @@ import * as utc from 'dayjs/plugin/utc' | ||
dayjs.extend(isBetween) | ||
dayjs.extend(minMax) | ||
dayjs.extend(defaultPlugins) | ||
@@ -20,0 +22,0 @@ dayjs.extend(isoWeekdayPlugin) |
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
39855
648