وقت الحدث في العرض الشهري قصير

نقل هذا إلى ميزة وأود بعض النصائح من @lindsey

الإصلاح هنا بسيط جدًا:

diff --git a/plugins/discourse-calendar/assets/javascripts/discourse/components/full-calendar.gjs b/plugins/discourse-calendar/assets/javascripts/discourse/components/full-calendar.gjs
index 79940a66ba..22b9306052 100644
--- a/plugins/discourse-calendar/assets/javascripts/discourse/components/full-calendar.gjs
+++ b/plugins/discourse-calendar/assets/javascripts/discourse/components/full-calendar.gjs
@@ -79,6 +79,11 @@ export default class FullCalendar extends Component {
       timeZone: this.currentUser?.user_option?.timezone || "local",
       firstDay: this.firstDayOfWeek,
       displayEventTime: true,
+      eventTimeFormat: {
+        hour: "numeric",
+        minute: "2-digit",
+        meridiem: "short",
+      },
       weekends: this.args.weekends ?? true,
       initialDate: this.args.initialDate,
       height: this.args.height ?? "100%",

لكن التقويم الكامل متعمد في الحفاظ على المساحة باستخدام narrow للمريديان.

هل يمكننا تحمل المساحة الإضافية هنا؟ هل الأمر يستحق ذلك؟

إعجابَين (2)