0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-30 01:29:52 +01:00
gitea/modules/util
René Schaar 6859b69198
Refactor SecToTime() function (#18863)
- Add helper method to reduce redundancy
- Expand the scope from displaying days to years
- Reduce irrelevance by not displaying small units (hours, minutes, seconds) when bigger ones apply (years)
2022-02-28 23:57:20 +01:00
..
compare.go
copy.go
io.go
net.go
paginate_test.go
paginate.go
path_test.go
path.go
remove.go
sanitize_test.go
sanitize.go
sec_to_time_test.go Refactor SecToTime() function (#18863) 2022-02-28 23:57:20 +01:00
sec_to_time.go Refactor SecToTime() function (#18863) 2022-02-28 23:57:20 +01:00
shellquote_test.go
shellquote.go
timer.go
truncate_test.go
truncate.go
url.go
util_test.go
util.go