NewPipe
NewPipe copied to clipboard
Use Android's elapsed time formatting
What is it?
- [ ] Bugfix (user facing)
- [x] Feature (user facing)
- [x] Codebase improvement (dev facing)
- [ ] Meta improvement to the project (dev facing)
Description of the changes in your PR
- Use Android's elapsed time formatting functionality to format durations. This allows the durations to be formatted in the same way as in the official YouTube app, and handles formatting depending on the locale.
Before/After Screenshots/Screen Record
-
Before:
-
After:
Fixes the following issue(s)
- Fixes #
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR. You can find more info and a video demonstration on this wiki page.
Due diligence
- [x] I read the contribution guidelines.
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
I tried it on current dev looks good, LGTM!