You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/routers
René Schaar 609c91665e
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>
2 years ago
..
api/v1 Add apply-patch, basic revert and cherry-pick functionality (#17902) 2 years ago
common format with gofumpt (#18184) 2 years ago
install Refactor i18n, use Locale to provide i18n/translation related functions (#18648) 2 years ago
private Change git.cmd to RunWithContext (#18693) 2 years ago
utils A better go code formatter, and now `make fmt` can run in Windows (#17684) 3 years ago
web Fix display time of milestones (#18753) 2 years ago
init.go Move keys to models/asymkey (#17917) 3 years ago