android-test icon indicating copy to clipboard operation
android-test copied to clipboard

Always print instrumentation time in US locale

Open li-wjohnson opened this issue 4 years ago • 0 comments

In instrumentation runners, instead of using the default locale, always print the "Time: " output in US locale. This fixes an issue where changing the device locale affects the format of the line and causes the instrumentation output parser in ddmlib to be unable to parse the time.

For example, if you set the device to use the Arabic locale, you currently get:

Time: ٣٫٦٤١

li-wjohnson avatar Apr 15 '21 23:04 li-wjohnson