···184184 return s
185185}
186186187187+// FormatISO returns the time formatted as RFC3339 UTC, suitable for HTML datetime attributes.
188188+func FormatISO(t time.Time) string {
189189+ return t.UTC().Format(time.RFC3339)
190190+}
191191+187192// FormatTimeAgo returns a human-readable relative time string
188193func FormatTimeAgo(t time.Time) string {
189194 now := time.Now()