Skip to content

Commit f9851c2

Browse files
Show date and time for activity log items
1 parent 935577b commit f9851c2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/models/audit-event.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -213,12 +213,12 @@ export class AuditEvent {
213213
*/
214214
get description() {
215215
if (this.vaccination) {
216-
return `Vaccination given ${this.vaccination.formatted.createdAt_date} by ${this.vaccination.formatted.createdBy}.<br>Record added to Mavis ${this.formatted.createdAt} by ${this.formatted.createdBy}.`
216+
return `Vaccination given ${this.vaccination.formatted.createdAt_date} by ${this.vaccination.formatted.createdBy}.<br>Record added to Mavis ${this.formatted.datetime} by ${this.formatted.createdBy}.`
217217
} else if (this.createdBy_uid) {
218-
return [this.formatted.createdAt, this.formatted.createdBy].join(` · `)
218+
return [this.formatted.datetime, this.formatted.createdBy].join(` · `)
219219
}
220220

221-
return this.formatted.createdAt
221+
return this.formatted.datetime
222222
}
223223

224224
/**

0 commit comments

Comments
 (0)