fix respect user's locale for time transformation, thx to @Edholm on issue #18