@stoker-platform/web-app 0.5.180 → 0.5.181

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @stoker-platform/web-app
2
2
 
3
+ ## 0.5.181
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: filter by end of selected end date in range picker
8
+
3
9
  ## 0.5.180
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/web-app",
3
- "version": "0.5.180",
3
+ "version": "0.5.181",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "scripts": {
package/src/DateRange.tsx CHANGED
@@ -97,6 +97,10 @@ export function DateRangeSelector({
97
97
  }
98
98
  }
99
99
 
100
+ if (value.to) {
101
+ value = { ...value, to: DateTime.fromJSDate(value.to).endOf("day").toJSDate() }
102
+ }
103
+
100
104
  if (!rangeFilter) return
101
105
 
102
106
  setRange(value)