@date-io/dayjs
Advanced tools
Comparing version 2.5.0 to 2.5.1
@@ -245,3 +245,3 @@ import defaultDayjs from 'dayjs'; | ||
var start = _a[0], end = _a[1]; | ||
return date.isBetween(start, end); | ||
return date.isBetween(start, end, null, "[]"); | ||
}; | ||
@@ -248,0 +248,0 @@ return DayjsUtils; |
@@ -249,3 +249,3 @@ 'use strict'; | ||
var start = _a[0], end = _a[1]; | ||
return date.isBetween(start, end); | ||
return date.isBetween(start, end, null, "[]"); | ||
}; | ||
@@ -252,0 +252,0 @@ return DayjsUtils; |
{ | ||
"name": "@date-io/dayjs", | ||
"version": "2.5.0", | ||
"version": "2.5.1", | ||
"description": "Abstraction over common javascript date management libraries", | ||
@@ -44,3 +44,3 @@ "main": "build/index.js", | ||
"license": "MIT", | ||
"gitHead": "c6fc999bc503c79a913c2fd51a4bbce4427694d5" | ||
"gitHead": "b7acda842159519578c0aa345e5c693232aacd03" | ||
} |
@@ -325,4 +325,4 @@ import defaultDayjs from "dayjs"; | ||
public isWithinRange(date: Dayjs, [start, end]: [Dayjs, Dayjs]) { | ||
return date.isBetween(start, end); | ||
return date.isBetween(start, end, null, "[]"); | ||
} | ||
} |
32345