Skip to content

Commit

Permalink
Update GameActionQueryBirth.cs
Browse files Browse the repository at this point in the history
match the backpack panel output
  • Loading branch information
LtRipley36706 committed Sep 17, 2024
1 parent 3fa2f1d commit aadd410
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public static void Handle(ClientMessage message, Session session)
{
var target = message.Payload.ReadString16L();
DateTime playerDOB = new DateTime(1970, 1, 1, 0, 0, 0, 0, System.DateTimeKind.Utc);
playerDOB = playerDOB.AddSeconds(session.Player.CreationTimestamp.Value).ToUniversalTime();
playerDOB = playerDOB.AddSeconds(session.Player.CreationTimestamp.Value).ToLocalTime();

var dobEvent = new GameMessages.Messages.GameMessageSystemChat($"You were born on {playerDOB:M/d/yyyy h:mm:ss tt}.", ChatMessageType.Broadcast);

Expand Down

0 comments on commit aadd410

Please sign in to comment.