Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 10:46:10 +01:00
forgejo/routers/web
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>
2022-02-16 00:50:10 +08:00
..
admin Add LDAP group sync to Teams, fixes #1395 (#16299) 2022-02-11 22:24:58 +08:00
auth Prevent panic on prohibited user login with oauth2 (#18562) 2022-02-03 10:44:18 +00:00
dev Move user related model into models/user (#17781) 2021-11-24 17:49:20 +08:00
events Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
explore Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
feed Propagate context and ensure git commands run in request context (#17868) 2022-01-19 23:26:57 +00:00
org Add GetUserTeams (#18499) 2022-02-01 14:09:24 -05:00
repo Fix display time of milestones (#18753) 2022-02-16 00:50:10 +08:00
user Allow to filter repositories by language in explore, user and organization repositories lists (#18430) 2022-01-28 13:29:04 +02:00
base.go format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
goget.go Refactor HTTP request context (#17979) 2021-12-15 14:59:57 +08:00
home.go Refactor auth package (#17962) 2022-01-02 21:12:35 +08:00
metrics.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
nodeinfo.go Add nodeinfo endpoint for federation purposes (#16953) 2021-09-28 01:38:06 +02:00
swagger_json.go Refactor routers directory (#15800) 2021-06-09 01:33:54 +02:00
web.go Disable unnecessary OpenID/OAuth2 elements (#18491) 2022-02-09 20:33:36 +00:00