1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-11 17:51:01 +00:00
miniflux-v2/internal/template
Nick Parker 2bc5ad53c2 Avoid long duration strings: round to nearest second
For example, seeing "Next check: 14m56.245483933s" in feeds list after force-refreshing a feed.

This rounds to the nearest second, so it'll instead be "14m56s"

Other examples from latter two test cases:
- "12.345678s" -> "12s"
- "1m27.654321s" -> "1m28s"
2023-11-08 14:19:30 +01:00
..
templates Refactor WebAuthn Javascript code 2023-11-06 19:55:32 +01:00
engine.go Refactor HTTP Client and LocalizedError packages 2023-10-22 13:09:30 -07:00
functions.go Avoid long duration strings: round to nearest second 2023-11-08 14:19:30 +01:00
functions_test.go Avoid long duration strings: round to nearest second 2023-11-08 14:19:30 +01:00