diff --git a/src/components/Cards/CreateWikiWizardStepThree.vue b/src/components/Cards/CreateWikiWizardStepThree.vue index 5df2564f..86216f96 100644 --- a/src/components/Cards/CreateWikiWizardStepThree.vue +++ b/src/components/Cards/CreateWikiWizardStepThree.vue @@ -83,8 +83,6 @@ - - + + diff --git a/src/components/Cards/CreateWikiWizardStepTwo.vue b/src/components/Cards/CreateWikiWizardStepTwo.vue index 0523bf49..229dcc17 100644 --- a/src/components/Cards/CreateWikiWizardStepTwo.vue +++ b/src/components/Cards/CreateWikiWizardStepTwo.vue @@ -103,7 +103,6 @@ - < PREVIOUS @@ -150,3 +149,11 @@ export default { } } + + diff --git a/src/components/Pages/ManageWiki/Cards/Profile.vue b/src/components/Pages/ManageWiki/Cards/Profile.vue index 5e4f5cd1..5a384ea4 100644 --- a/src/components/Pages/ManageWiki/Cards/Profile.vue +++ b/src/components/Pages/ManageWiki/Cards/Profile.vue @@ -147,7 +147,20 @@ export default { }, updatedAt: function () { if (this.profile?.updated_at) { - return `Last updated on ${new Date(this.profile.updated_at).toLocaleString()}` + const rawDate = new Date(this.profile.updated_at) + const date = new Intl.DateTimeFormat('en-GB', { + timeZone: 'UTC', + day: '2-digit', + month: 'long', + year: 'numeric' + }).format(rawDate) + const time = new Intl.DateTimeFormat('en-GB', { + timeZone: 'UTC', + hour: '2-digit', + minute: '2-digit', + hour12: false + }).format(rawDate) + return `Last updated on ${date}, at ${time} (UTC)` } return false } @@ -229,13 +242,14 @@ export default { padding-top: 0; } .no-profile-banner { + display: flex; + align-items: flex-start; background-color: rgba(255, 236, 179, 1); border-radius: 4px; padding: 8px 16px; font-size: 16px; } .no-profile-banner > .v-icon { - float: left; margin-right: 16px; } .profile {