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