Skip to content

Commit

Permalink
#317: Change date to date-time
Browse files Browse the repository at this point in the history
* Add Seconds (59) to "to" date as well
  • Loading branch information
benitsch committed Jul 17, 2024
1 parent a9cc0db commit 3ceecad
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
24 changes: 4 additions & 20 deletions openapi/StudyManagerAPI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1130,16 +1130,8 @@ paths:
type: array
items:
type: integer
- name: from
in: query
schema:
type: string
format: date
- name: to
in: query
schema:
type: string
format: date
- $ref: '#/components/parameters/From'
- $ref: '#/components/parameters/To'
responses:
'200':
description: Operation successful
Expand Down Expand Up @@ -1185,16 +1177,8 @@ paths:
type: array
items:
type: integer
- name: from
in: query
schema:
type: string
format: date
- name: to
in: query
schema:
type: string
format: date
- $ref: '#/components/parameters/From'
- $ref: '#/components/parameters/To'
responses:
'200':
description: Operation successful
Expand Down
2 changes: 1 addition & 1 deletion src/components/subComponents/DataDownload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
if (filterDateRange.value && filterDateRange.value.length > 1) {
filterValues.from = filterDateRange.value[0];
const toDate = filterDateRange.value[1];
toDate.setHours(23, 59);
toDate.setHours(23, 59, 59);
filterValues.to = toDate;
}
Expand Down

0 comments on commit 3ceecad

Please sign in to comment.