We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ecbf52 commit a4677ebCopy full SHA for a4677eb
1 file changed
packages/jsapi-utils/src/TableUtils.test.ts
@@ -2459,13 +2459,18 @@ describe('makeValue', () => {
2459
now.getMonth(),
2460
now.getDate()
2461
);
2462
- const yesterdayDate = DateUtils.makeDateWrapper(
2463
- dh,
2464
- 'America/New_York',
+ const yesterday = new Date(
2465
now.getFullYear(),
2466
2467
now.getDate() - 1
2468
+ const yesterdayDate = DateUtils.makeDateWrapper(
+ dh,
2469
+ 'America/New_York',
2470
+ yesterday.getFullYear(),
2471
+ yesterday.getMonth(),
2472
+ yesterday.getDate()
2473
+ );
2474
testMakeValue(
2475
'io.deephaven.db.tables.utils.DBDateTime',
2476
'today',
0 commit comments