Skip to content
Snippets Groups Projects
Unverified Commit bafbf0c1 authored by Natalí Paura's avatar Natalí Paura Committed by GitHub
Browse files

Improve purgeTime display in web page (#558)


- changing the line `purgeTime = s.purgeDays.String()` to use a function that formats the days like this: "N days" or "1 day"
- adding the function `formatDurationDays` in utils.go file

Fixes #557

Co-authored-by: default avatarAndrea Spacca <andrea.spacca@gmail.com>
parent df0d04f0
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment