...
 
Commits (2)
......@@ -15,7 +15,7 @@ export default {
if (this.date.getTime() === today.getTime()) {
return this.$t('display_date.today')
} else {
const lang = this.$store.getters.mergedConfig.interfaceLanguage
const lang = this.$store.getters.mergedConfig.interfaceLanguage.split('_')[0]
return this.date.toLocaleDateString(lang, { day: 'numeric', month: 'long' })
}
}
......
......@@ -96,7 +96,6 @@
:disabled="posting"
class="form-post-body"
:class="{ 'scrollable-form': !!maxHeight }"
@keydown.exact.stop.prevent.enter="submitOnEnter && postStatus(newStatus)"
@keydown.meta.enter="postStatus(newStatus, { control: true })"
@keyup.ctrl.enter="postStatus(newStatus)"
@drop="fileDrop"
......