Skip to content

Commit

Permalink
Fix date format in access request (#143)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cito authored Jun 23, 2023
1 parent f512114 commit 63d90c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "data-portal-ui",
"version": "0.1.2",
"version": "0.1.3",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "~6.4.0",
Expand Down
4 changes: 2 additions & 2 deletions src/utils/dataRequestFormModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ const DataRequestFormModal = (props: DataRequestFormModalProps) => {
dataset_id: props.accession,
email: email.value,
request_text: details.value,
access_starts: from.value + "T:00:00:00.000Z",
access_ends: until.value + "T:23:59:59.999Z",
access_starts: from.value + "T00:00:00.000Z",
access_ends: until.value + "T23:59:59.999Z",
});
if (response.ok) {
showMessage({
Expand Down

0 comments on commit 63d90c3

Please sign in to comment.