ASN1: Use an explicit locale for ASN1 UTC / Generalized times.

Using the default locale can result in bad behaviour, for example
when the locales numberformat doesn't use arabic numerals.

bug: 28384942

(cherry picked from commit 7c335a5d575470ba944cb41d0ac655d7087422d1)

Change-Id: I0970decef270a5b3957238c1bfa2e1bd95bce9b5
4 files changed