minor cleanups

This commit is contained in:
2024-09-02 12:35:06 +02:00
parent 3e2b462cfa
commit b192120025
2 changed files with 1 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
package service
import (
"log"
"me-fit/template"
"me-fit/template/workout"
@@ -160,7 +159,6 @@ func HandleDeleteWorkout(db *sql.DB) http.HandlerFunc {
}
func renderDateStr(date string) (string, error) {
log.Println(date)
t, err := time.Parse("2006-01-02 15:04:05-07:00", date)
if err != nil {
return "", err