=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.
I'm not sure I follow. Now the pretty format is always in US locale, i.e. `.` decimal separator. Why the regex match?