CloudCannon / pagefind

Static low-bandwidth search at scale
https://pagefind.app
MIT License
3.34k stars 100 forks source link

Fix duration representation #448

Closed danpls closed 11 months ago

danpls commented 11 months ago

Currently if pagefind takes e.g. 1 ms it would be incorrectly displayed as "0.1 seconds" instead of "0.001 seconds". This patch fixes the behaviour.

bglw commented 11 months ago

Good catch!