aboutsummaryrefslogtreecommitdiffstats
path: root/modules/git/sha1_nogogit.go
diff options
context:
space:
mode:
authorRené Schaar <rene@schaar.priv.at>2022-02-28 23:57:20 +0100
committerGitHub <noreply@github.com>2022-02-28 23:57:20 +0100
commit6859b6919800cbf2958dbfbe76fca42f4dcbb194 (patch)
treef9c4e85d80ac78d73dfd4f0d5789084823f0695d /modules/git/sha1_nogogit.go
parentb75ad7b87f122a1386cb0e576ce83cc000f6d010 (diff)
downloadgitea-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/sha1_nogogit.go')
0 files changed, 0 insertions, 0 deletions