1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 16:40:26 +02:00

Fixed TimeSpan formatting

This commit is contained in:
Brian Fiete 2020-04-28 07:41:56 -07:00
parent 86a97a12e5
commit 3a332a0bcf

View file

@ -347,7 +347,6 @@ namespace System.Globalization {
public void Dispose() mut
{
DeleteAndNullify!(AppCompatLiteral);
DeleteAndNullify!(literals);
if (ownedStrs != null)
{
@ -485,7 +484,7 @@ namespace System.Globalization {
}
Contract.Assert(field == 5);
AppCompatLiteral = new String(MinuteSecondSep, SecondFractionSep);
AppCompatLiteral = AddOwnedStr(new String(MinuteSecondSep, SecondFractionSep));
Contract.Assert(0 < dd && dd < 3, "0 < dd && dd < 3, Bug in System.Globalization.DateTimeFormatInfo.FullTimeSpan[Positive|Negative]Pattern");
Contract.Assert(0 < hh && hh < 3, "0 < hh && hh < 3, Bug in System.Globalization.DateTimeFormatInfo.FullTimeSpan[Positive|Negative]Pattern");