minor cleanups
All checks were successful
Build and Push Docker Image / Explore-Gitea-Actions (push) Successful in 53s

This commit is contained in:
Tim
2024-09-02 12:35:06 +02:00
parent 25d0dea73c
commit 460c251ada
2 changed files with 1 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ tmp_dir = "tmp"
rerun = false
rerun_delay = 500
send_interrupt = false
stop_on_error = false
stop_on_error = true
[color]
app = ""

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