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
..
2022-01-20 18:46:10 +01:00
2021-09-09 21:13:36 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-02-12 01:08:22 +08:00
2022-01-25 08:33:40 +02:00
2022-01-20 18:46:10 +01:00
2022-02-06 20:01:47 +01:00
2022-01-20 18:46:10 +01:00
2021-12-20 04:41:31 +00:00
2022-01-26 12:10:10 +08:00
2022-02-14 18:03:56 +01:00
2022-02-11 13:47:22 +01:00
2022-01-20 18:46:10 +01:00
2020-10-02 23:37:53 -04:00
2022-01-20 18:46:10 +01:00
2021-12-20 04:41:31 +00:00
2022-01-20 18:46:10 +01:00
2022-01-19 19:31:39 -05:00
2022-02-06 20:01:47 +01:00
2022-01-22 21:59:34 +00:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-01-31 01:48:47 +02:00
2022-01-20 18:46:10 +01:00
2022-02-01 13:20:28 -05:00
2022-01-20 18:46:10 +01:00
2022-02-12 07:17:34 +00:00
2022-01-20 18:46:10 +01:00
2021-06-07 07:27:09 +02:00
2021-09-22 13:38:34 +08:00
2022-01-26 10:45:51 +01:00
2022-01-20 18:46:10 +01:00
2021-08-19 16:41:20 -04:00
2022-01-23 20:19:49 +08:00
2022-02-12 13:31:26 +08:00
2021-09-22 13:38:34 +08:00
2022-01-20 18:46:10 +01:00
2022-02-06 20:01:47 +01:00
2022-02-04 18:03:15 +01:00
2022-01-20 18:46:10 +01:00
2022-02-10 17:04:16 +01:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-02-09 20:28:55 +00:00
2021-09-22 13:38:34 +08:00
2020-01-15 23:58:33 +02:00
2022-02-16 00:50:10 +08:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2022-02-08 11:02:30 +08:00
2022-01-20 18:46:10 +01:00
2022-01-20 18:46:10 +01:00
2021-12-20 04:41:31 +00:00
2021-12-23 16:27:33 +00:00
2020-04-05 07:20:50 +01:00
2022-02-16 00:50:10 +08:00
2022-01-20 18:46:10 +01:00
2022-01-22 15:05:22 +00:00