mirror of
https://github.com/ACEmulator/ACE
synced 2026-08-17 12:26:06 -04:00
* Update output of DateTime strings Define and use explicit formatting for DateTime objects used throughout source * Update Player.cs * Update GameActionQueryBirth.cs * Update DateTimeExtensions.cs * Update GameActionQueryBirth.cs match the backpack panel output
12 lines
257 B
C#
12 lines
257 B
C#
using System;
|
|
|
|
namespace ACE.Common.Extensions
|
|
{
|
|
public static class DateTimeExtensions
|
|
{
|
|
public static string ToCommonString(this DateTime dateTime)
|
|
{
|
|
return dateTime.ToString("yyyy-MM-dd h:mm:ss tt");
|
|
}
|
|
}
|
|
}
|