transfer.sh/server
Natalí Paura bafbf0c1a0
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: Andrea Spacca <andrea.spacca@gmail.com>
2023-05-19 19:01:54 +09:00
..
storage Upgrade github.com/urfave/cli to v2 (#551) 2023-05-19 14:51:40 +09:00
clamav.go all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00
handlers.go Improve purgeTime display in web page (#558) 2023-05-19 19:01:54 +09:00
handlers_test.go Golint (#404) 2021-08-19 22:45:30 +02:00
ip_filter.go add IP_FILTERLIST_BYPASS_HTTP_AUTH (#538) 2023-03-12 13:34:41 +09:00
server.go add IP_FILTERLIST_BYPASS_HTTP_AUTH (#538) 2023-03-12 13:34:41 +09:00
token.go Golint (#404) 2021-08-19 22:45:30 +02:00
token_test.go Golint (#404) 2021-08-19 22:45:30 +02:00
utils.go Improve purgeTime display in web page (#558) 2023-05-19 19:01:54 +09:00
virustotal.go all: update gdrive client and various linting cleanups (#497) 2022-07-14 18:02:18 +02:00