(value string)
| 310 | } |
| 311 | |
| 312 | func normalizeDailyNoteTitlePattern(value string) string { |
| 313 | trimmed := strings.TrimSpace(strings.NewReplacer("/", "-", "\\", "-").Replace(value)) |
| 314 | if trimmed == "" { |
| 315 | return DefaultDailyNoteTitlePattern |
| 316 | } |
| 317 | return trimmed |
| 318 | } |
| 319 | |
| 320 | func normalizeDailyNoteLocale(value string) string { |
| 321 | trimmed := strings.TrimSpace(value) |
no outgoing calls
no test coverage detected