Fixing Typo in variable name in DateTime (#7898)
authorPeter Marcu <Peter.Marcu@Microsoft.com>
Mon, 31 Oct 2016 10:55:44 +0000 (03:55 -0700)
committerStephen Toub <stoub@microsoft.com>
Mon, 31 Oct 2016 10:55:44 +0000 (06:55 -0400)
src/mscorlib/src/System/Globalization/DateTimeFormat.cs

index 918aecb..f63de72 100644 (file)
@@ -1011,8 +1011,8 @@ namespace System {
         internal static string FastFormatRoundtrip(DateTime dateTime, TimeSpan offset)
         {
             // yyyy-MM-ddTHH:mm:ss.fffffffK
-            const int roundTrimFormatLength = 28;
-            StringBuilder result = StringBuilderCache.Acquire(roundTrimFormatLength);
+            const int roundTripFormatLength = 28;
+            StringBuilder result = StringBuilderCache.Acquire(roundTripFormatLength);
 
             AppendNumber(result, dateTime.Year, 4);
             result.Append('-');