diff --git a/plugins/activity-resources/src/components/activity-message/ActivityMessageTemplate.svelte b/plugins/activity-resources/src/components/activity-message/ActivityMessageTemplate.svelte index 22234213a2..2c0bf4d8af 100644 --- a/plugins/activity-resources/src/components/activity-message/ActivityMessageTemplate.svelte +++ b/plugins/activity-resources/src/components/activity-message/ActivityMessageTemplate.svelte @@ -22,8 +22,9 @@ import { Avatar, EmployeePresenter, SystemAvatar } from '@hcengineering/contact-resources' import core, { getDisplayTime } from '@hcengineering/core' import { getClient } from '@hcengineering/presentation' - import { Action, Label } from '@hcengineering/ui' + import { Action, Label, tooltip } from '@hcengineering/ui' import { getActions, restrictionStore } from '@hcengineering/view-resources' + import { getEmbeddedLabel } from '@hcengineering/platform' import ReactionsPresenter from '../reactions/ReactionsPresenter.svelte' import ActivityMessageExtensionComponent from './ActivityMessageExtension.svelte' @@ -107,6 +108,14 @@ let readonly: boolean = false $: readonly = $restrictionStore.disableComments + + $: fullDate = new Date(message.createdOn ?? message.modifiedOn).toLocaleString('default', { + minute: '2-digit', + hour: 'numeric', + day: '2-digit', + month: 'short', + year: 'numeric' + }) {#if !isHidden} @@ -161,7 +170,14 @@ {#if !skipLabel} {/if} - {getDisplayTime(message.createdOn ?? 0)} + + {getDisplayTime(message.createdOn ?? 0)} +