MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / normalizeWeeklyNoteLocale

Function normalizeWeeklyNoteLocale

apps/server/internal/vault/vault.go:344–350  ·  view source on GitHub ↗
(value string)

Source from the content-addressed store, hash-verified

342}
343
344func normalizeWeeklyNoteLocale(value string) string {
345 trimmed := strings.TrimSpace(value)
346 if trimmed == "" {
347 return DefaultWeeklyNoteLocale
348 }
349 return trimmed
350}
351
352func normalizeDailyNoteLegacyPatterns(value []DateNotePatternSettings) []DateNotePatternSettings {
353 out := []DateNotePatternSettings{}

Callers 2

normalizeVaultSettingsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected