- Replaced the TraceStabled command with a cleaner approach.
- Fixed ShardTime to actually return the server's time, not UTC. - Changed the ShardTime format to something more standard.
This commit is contained in:
parent
93a24b8af9
commit
533d7fe14d
6 changed files with 21 additions and 45 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Server.Commands
|
||||
{
|
||||
public class Time
|
||||
public class ShardTime
|
||||
{
|
||||
public static void Initialize()
|
||||
{
|
||||
|
|
@ -13,7 +13,7 @@ namespace Server.Commands
|
|||
[Description( "Returns the server's local time." )]
|
||||
private static void Time_OnCommand( CommandEventArgs e )
|
||||
{
|
||||
e.Mobile.SendMessage( DateTime.UtcNow.ToString( "MMM ddd d HH:mm yyyy" ) );
|
||||
e.Mobile.SendMessage( DateTime.Now.ToString() );
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue