(value string)
| 334 | } |
| 335 | |
| 336 | func normalizeWeeklyNoteTitlePattern(value string) string { |
| 337 | trimmed := strings.TrimSpace(strings.NewReplacer("/", "-", "\\", "-").Replace(value)) |
| 338 | if trimmed == "" { |
| 339 | return DefaultWeeklyNoteTitlePattern |
| 340 | } |
| 341 | return trimmed |
| 342 | } |
| 343 | |
| 344 | func normalizeWeeklyNoteLocale(value string) string { |
| 345 | trimmed := strings.TrimSpace(value) |
no outgoing calls
no test coverage detected