diff --git a/src/renderer/src/components/messages/MessageList.vue b/src/renderer/src/components/messages/MessageList.vue index 7c8af4c..e9c8cf9 100644 --- a/src/renderer/src/components/messages/MessageList.vue +++ b/src/renderer/src/components/messages/MessageList.vue @@ -294,7 +294,7 @@ async function handleSwipeAction(action: SwipeAction, messageId: string): Promis @swipe-action="(action) => handleSwipeAction(action, thread.messages[0].id)" /> - +
= weekStart) { + // Первая буква заглавная: "Понедельник 14:30" + const str = format(date, 'EEEE HH:mm', { locale: ru }) + return str.charAt(0).toUpperCase() + str.slice(1) } - return format(date, 'MMM d, yyyy') + return format(date, 'yyyy-MM-dd HH:mm') } export function formatFullDate(dateStr: string): string {