기능으로 이동하고 @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%",
하지만 풀 캘린더는 의도적으로 meridiem을 narrow로 설정하여 공간을 절약합니다.
여기서는 추가 공간을 확보할 수 있을까요? 가치가 있을까요?