extra::time: Fix test on Windows

Closes #10307