diff options
author | René Schaar <rene@schaar.priv.at> | 2022-02-28 23:57:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 23:57:20 +0100 |
commit | 6859b6919800cbf2958dbfbe76fca42f4dcbb194 (patch) | |
tree | f9c4e85d80ac78d73dfd4f0d5789084823f0695d /modules/git/pipeline/lfs.go | |
parent | b75ad7b87f122a1386cb0e576ce83cc000f6d010 (diff) | |
download | gitea-6859b6919800cbf2958dbfbe76fca42f4dcbb194.tar.gz gitea-6859b6919800cbf2958dbfbe76fca42f4dcbb194.zip |
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)
Diffstat (limited to 'modules/git/pipeline/lfs.go')
0 files changed, 0 insertions, 0 deletions