Skip to content

Commit 00df0ed

Browse files
YunchuWangCopilot
andauthored
Update packages/durabletask-js-export-history/src/client/export-history-client.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent bad1d95 commit 00df0ed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/durabletask-js-export-history/src/client/export-history-client.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,9 @@ function matchesFilter(state: ExportJobState, filter: ExportJobQuery): boolean {
265265
const statusMatches = filter.status === undefined || state.status === filter.status;
266266
const createdFromMatches =
267267
filter.createdFrom === undefined ||
268-
(state.createdAt !== undefined && new Date(state.createdAt) > filter.createdFrom);
268+
(state.createdAt !== undefined && new Date(state.createdAt) >= filter.createdFrom);
269269
const createdToMatches =
270270
filter.createdTo === undefined ||
271-
(state.createdAt !== undefined && new Date(state.createdAt) < filter.createdTo);
271+
(state.createdAt !== undefined && new Date(state.createdAt) <= filter.createdTo);
272272
return statusMatches && createdFromMatches && createdToMatches;
273273
}

0 commit comments

Comments
 (0)