diff --git a/src/views/trials/trials-panel/trial-summary/image-inspect/components/view-study.vue b/src/views/trials/trials-panel/trial-summary/image-inspect/components/view-study.vue index c75a6100..08c4eb53 100644 --- a/src/views/trials/trials-panel/trial-summary/image-inspect/components/view-study.vue +++ b/src/views/trials/trials-panel/trial-summary/image-inspect/components/view-study.vue @@ -23,10 +23,10 @@ style="width: 140px" > @@ -41,6 +41,7 @@ :range-separator="$t('baseForm:daterange:rangeSeparator')" :start-placeholder="$t('imageInspect:daterange:startPlaceholder')" :end-placeholder="$t('imageInspect:daterange:endPlaceholder')" + value-format="yyyy-MM-dd HH:mm:ss" :default-time="['00:00:00', '23:59:59']" > @@ -218,12 +219,8 @@ export default { }); data.PatientId = this.Patient.PatientId; if (this.dateValue && this.dateValue[0] && this.dateValue[1]) { - data.EarliestStudyTime = this.$moment(this.dateValue[0]).format( - "YYYY-MM-DD HH:mm:ss" - ); - data.LatestStudyTime = this.$moment(this.dateValue[1]).format( - "YYYY-MM-DD HH:mm:ss" - ); + data.EarliestStudyTime = this.dateValue[0]; + data.LatestStudyTime = this.dateValue[1]; } else { data.EarliestStudyTime = null; data.LatestStudyTime = null;