File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
pages/center/_centerId/patient Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 227
227
<script lang="ts">
228
228
import { Component , Vue } from ' vue-property-decorator'
229
229
import dayjs from ' dayjs'
230
+ import utc from ' dayjs/plugin/utc'
230
231
import Papa from ' papaparse'
231
232
import { saveAs } from ' file-saver'
232
233
import * as zip from ' @zip.js/zip.js/dist/zip'
@@ -245,6 +246,8 @@ import PlusIcon from '@/static/icon-plus.svg'
245
246
import DownloadIcon from ' @/static/icon-download.svg'
246
247
import { patientsStore , statusesStore } from ' @/store'
247
248
249
+ dayjs .extend (utc )
250
+
248
251
type SymptomItem = {
249
252
name: string
250
253
label: string
@@ -340,7 +343,7 @@ export default class PatientId extends Vue {
340
343
341
344
get status(): ConsumeStatus {
342
345
return {
343
- created: this .inputDateTime ,
346
+ created: dayjs ( this .inputDateTime ). utc (). format () ,
344
347
SpO2: + this .inputSpO2 ,
345
348
body_temperature: + this .inputTemperature ,
346
349
pulse: + this .inputPulse ,
You can’t perform that action at this time.
0 commit comments