Posted as issue DateTime.Now

Discussion in 'JustUO Bug Reports' started by zerodowned, Nov 27, 2015.

  1. zerodowned

    zerodowned Administrator Moderator JustUO Developer Gold Star Member Et Cetera, Et Cetera

    While updating some older work from RunUo, I noticed several distro scripts in JustUo that are still using DateTime.Now

    I posted an issue notice on Github: https://github.com/JustUO/JustUO/issues/49

    With the expception of VitaNex ( since it uses both, with precautions ), I thought all codes was suppose to use DateTime.UtcNow
     
  2. Ravenwolfe

    Ravenwolfe Administrator Staff Member JustUO Developer

    Agreed, was probably overlooked. The only time it should use DateTime.Now is when it is meant to be displayed to a player in their local time, such as a gump. Even Vitanex only has it in there for timezone conversion extensions.
     

Share This Page