Skip to content

Commit

Permalink
format date to date and time
Browse files Browse the repository at this point in the history
  • Loading branch information
erinz2020 committed Jan 29, 2025
1 parent 42a87f6 commit 87fd33c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/filterFields/IndividualDateFilter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default function IndividualDateFilter({ onChange }) {
clause: "filter",
query: {
match: {
individualTimeofBirth: e.target.value,
individualTimeofBirth: `${e.target.value}T00:00:00.000Z`,
},
},
});
Expand All @@ -88,7 +88,7 @@ export default function IndividualDateFilter({ onChange }) {
clause: "filter",
query: {
match: {
individualTimeofDeath: e.target.value,
individualTimeofDeath: `${e.target.value}T00:00:00.000Z`,
},
},
});
Expand Down

0 comments on commit 87fd33c

Please sign in to comment.