summaryrefslogtreecommitdiff
path: root/internal/timezone
diff options
context:
space:
mode:
authorGravatar Nick Parker <nick@nickbp.com> 2023-11-08 18:46:15 +1300
committerGravatar Frédéric Guillot <f@miniflux.net> 2023-11-08 14:19:30 +0100
commit2bc5ad53c2f0f2ff3372b2aeedf5955d40969af0 (patch)
tree0b73bc3d647799cc1a1648d83fd3d95be5bee999 /internal/timezone
parentbc317cfcd1b17bad5273cf01f44853dc9eb9b262 (diff)
downloadv2-2bc5ad53c2f0f2ff3372b2aeedf5955d40969af0.tar.gz
v2-2bc5ad53c2f0f2ff3372b2aeedf5955d40969af0.tar.zst
v2-2bc5ad53c2f0f2ff3372b2aeedf5955d40969af0.zip
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"
Diffstat (limited to 'internal/timezone')
0 files changed, 0 insertions, 0 deletions