@dataloop-ai/components 0.16.20 → 0.16.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dataloop-ai/components",
3
- "version": "0.16.20",
3
+ "version": "0.16.21",
4
4
  "exports": {
5
5
  ".": "./index.ts",
6
6
  "./models": "./models.ts",
@@ -147,12 +147,18 @@ export default defineComponent({
147
147
  {
148
148
  title: 'today',
149
149
  key: DAY_SIDEBAR_OPTION.today,
150
- value: { from: today, to: today }
150
+ value: {
151
+ from: today,
152
+ to: new CustomDate(today).endOf('day').toDate()
153
+ }
151
154
  },
152
155
  {
153
156
  title: 'yesterday',
154
157
  key: DAY_SIDEBAR_OPTION.yesterday,
155
- value: { from: yesterday, to: yesterday }
158
+ value: {
159
+ from: yesterday,
160
+ to: new CustomDate(yesterday).endOf('day').toDate()
161
+ }
156
162
  },
157
163
  {
158
164
  title: 'last 7 days',