summary refs log tree commit diff
path: root/crypto/src/asn1/DerUTCTime.cs
diff options
context:
space:
mode:
authorOren Novotny <oren@novotny.org>2015-10-18 16:41:53 -0400
committerOren Novotny <oren@novotny.org>2015-10-18 16:41:53 -0400
commit40702e06ecad057c476e92cd8b6beadbbe143dc3 (patch)
treea590b6d52882134a268d4af7ffeb873e8731302a /crypto/src/asn1/DerUTCTime.cs
parentadd version info (diff)
parentMerge branch 'master' into master-vs12 (diff)
downloadBouncyCastle.NET-ed25519-40702e06ecad057c476e92cd8b6beadbbe143dc3.tar.xz
Merge in latest from master
Diffstat (limited to 'crypto/src/asn1/DerUTCTime.cs')
-rw-r--r--crypto/src/asn1/DerUTCTime.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/src/asn1/DerUTCTime.cs b/crypto/src/asn1/DerUTCTime.cs
index 812d91db6..ebf57198f 100644
--- a/crypto/src/asn1/DerUTCTime.cs
+++ b/crypto/src/asn1/DerUTCTime.cs
@@ -86,7 +86,7 @@ namespace Org.BouncyCastle.Asn1
         public DerUtcTime(
             DateTime time)
         {
-            this.time = time.ToUniversalTime().ToString("yyMMddHHmmss") + "Z";
+            this.time = time.ToUniversalTime().ToString("yyMMddHHmmss", CultureInfo.InvariantCulture) + "Z";
         }
 
 		internal DerUtcTime(