Skip to content

Commit

Permalink
Merge pull request #965 from keisuke-umezawa/fix/convert-string-to-date
Browse files Browse the repository at this point in the history
Fix type of datetime start and complete of mock studies
  • Loading branch information
c-bata committed Sep 19, 2024
2 parents 982eb27 + 59e4081 commit c4917e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tslib/storage/src/sqlite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ const getTrials = (
params: [], // Set this column later
user_attrs: [], // Set this column later
constraints: [],
datetime_start: vals[3],
datetime_complete: vals[4],
datetime_start: new Date(vals[3]),
datetime_complete: new Date(vals[4]),
}
trials.push(trial)
},
Expand Down

0 comments on commit c4917e2

Please sign in to comment.