Remove 'timeSince' debug logging
This commit is contained in:
parent
390e5120e1
commit
567c1b5064
1 changed files with 0 additions and 1 deletions
1
html.go
1
html.go
|
|
@ -409,7 +409,6 @@ func timeSince(t *time.Time) string {
|
|||
diff := now.Sub(*t)
|
||||
|
||||
hours := diff.Hours()
|
||||
slog.Info("time since", slog.String("t", t.String()), slog.Float64("hours", hours))
|
||||
if hours < 1 {
|
||||
minutes := diff.Minutes()
|
||||
return fmt.Sprintf("%d minutes ago", int(minutes))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue