From 248d64c096930fa031ce48ddaa4cdb30681918fa Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Thu, 5 Nov 2026 13:25:09 +0900 Subject: schedule: 日付解析を共通モジュールに切り出し MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - src/lib/schedule-dates.ts に parseDates などを移動 - カレンダー(ブラウザ)とビルド時の月別ページの両方から使えるようにした - 挙動は変わっていない(カレンダーのマーク・終了判定・日別予定のスナップショット比較で一致) --- src/components/ScheduleInteractive.astro | 113 +-------------------------- src/lib/schedule-dates.ts | 130 +++++++++++++++++++++++++++++++ 2 files changed, 131 insertions(+), 112 deletions(-) create mode 100644 src/lib/schedule-dates.ts (limited to 'src') diff --git a/src/components/ScheduleInteractive.astro b/src/components/ScheduleInteractive.astro index 8c14f38..3dd6048 100644 --- a/src/components/ScheduleInteractive.astro +++ b/src/components/ScheduleInteractive.astro @@ -1,6 +1,7 @@