diff --git a/CLAUDE.md b/CLAUDE.md index eaf667e..4cb52ed 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -88,7 +88,8 @@ When building features, apply this order: ## Date Formatting - General UI dates (file listings, metadata): ISO `YYYY-MM-DD` -- Diary long-form dates: German locale, e.g. `Mittwoch, 1. April 2026` — use `formatGermanDate` in `diary.go`; Go's `time.Format` is English-only so locale names are kept in maps keyed by `time.Weekday` / `time.Month` +- Diary headings (year/month/day) are also ISO short form: `# 2026`, `## 2026-05`, `### 2026-05-28`. No long-form rendering. +- Calendar widget month names are German; the `germanMonths` map in `diary.go` keeps the labels keyed by `time.Month` since Go's `time.Format` is English-only. ## What to Avoid diff --git a/assets/diary/calendar.html b/assets/diary/calendar.html index 99e5201..f8912d9 100644 --- a/assets/diary/calendar.html +++ b/assets/diary/calendar.html @@ -1,11 +1,13 @@ -
-| Mo | Di | Mi | Do | Fr | Sa | So |
|---|