1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-22 07:34:26 +00:00
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
..
2022-01-20 18:46:10 +01:00
2022-02-28 20:41:06 +01:00
2022-01-23 21:46:30 +08:00
2022-01-20 18:46:10 +01:00
2021-12-12 23:48:20 +08:00
2022-01-20 18:46:10 +01:00
2022-01-10 17:32:37 +08:00
2022-02-01 14:09:24 -05:00
2022-02-01 14:09:24 -05:00
2022-01-20 18:46:10 +01:00
2022-01-02 21:12:35 +08:00