diff options
author | René Schaar <rene@schaar.priv.at> | 2022-02-15 17:50:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 00:50:10 +0800 |
commit | 609c91665e5e4d6da50af0b2168d6cb46f9d6273 (patch) | |
tree | 974e777fbd7262162c4f3b237f3688178962e89c /web_src | |
parent | 2be49dee71af997ed944c177a090aeb3e6d606e8 (diff) | |
download | gitea-609c91665e5e4d6da50af0b2168d6cb46f9d6273.tar.gz gitea-609c91665e5e4d6da50af0b2168d6cb46f9d6273.zip |
Fix display time of milestones (#18753)
* Fix display time of milestones
* Move the SecToTime function
From the models/issue_stopwatch.go file to the modules/util package
* Rename the sec_to_time file
* Updated formatting
* Include copyright notice in sec_to_time.go
* Apply PR review suggestions
- Update copyright notice dates to 2022
- Change `1 day 3h 5min 7s` to `1d 3h 5m 7s`
* Rename hrs var and combine conditions
* Update unit tests to match new time pattern
Changed `1min` to `1m`
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'web_src')
0 files changed, 0 insertions, 0 deletions