mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-20 08:58:00 +02:00
Fixed ToString
This commit is contained in:
parent
30ff0fb564
commit
df50100353
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue