1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 08:58:00 +02:00

Fixed ToString

This commit is contained in:
Brian Fiete 2020-08-01 07:47:42 -07:00
parent 30ff0fb564
commit df50100353

View file

@ -7,7 +7,7 @@ using System.Globalization;
namespace System namespace System
{ {
struct DateTime : IHashable struct DateTime : IHashable, IFormattable
{ {
// Number of 100ns ticks per time unit // Number of 100ns ticks per time unit
private const int64 TicksPerMillisecond = 10000; private const int64 TicksPerMillisecond = 10000;
@ -820,7 +820,7 @@ namespace System
DateTimeFormat.[Friend]Format(this, "t", DateTimeFormatInfo.CurrentInfo, outString); DateTimeFormat.[Friend]Format(this, "t", DateTimeFormatInfo.CurrentInfo, outString);
} }
public void ToString(String outString) public override void ToString(String outString)
{ {
DateTimeFormat.[Friend]Format(this, .(), DateTimeFormatInfo.CurrentInfo, outString); DateTimeFormat.[Friend]Format(this, .(), DateTimeFormatInfo.CurrentInfo, outString);
} }