fixed #60
Some checks failed
Arbeitszeitmessung Deploy / Run Go Tests (push) Successful in 1m29s
Tests / Run Go Tests (push) Has been cancelled
Arbeitszeitmessung Deploy / Build Go Image and Upload (push) Successful in 2m7s

This commit is contained in:
2025-12-02 16:53:43 +01:00
parent 5a5e776e8b
commit 74bce88cc0
6 changed files with 43 additions and 12 deletions

View File

@@ -68,3 +68,10 @@ func GetWorkingDays(startDate, endDate time.Time) int {
}
return count
}
func FormatGermanDayOfWeek(t time.Time) string {
return days[t.Weekday()][:2]
}
var days = [...]string{
"Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"}