[client][Servers] Fix a bug in which the expected time depends on locale.