=tes #15808 force the locale in pretty duration, its only a helper

Fixing the locale so we always get a `.`, does not really need to be locale sensitive, since it's only printing in tests etc.