1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-02 00:22:50 -05:00

handle UTC dates properly for events

This commit is contained in:
Kyle Spearrin
2017-12-15 12:24:32 -05:00
parent a9f232746e
commit 79d46578b0
2 changed files with 4 additions and 15 deletions

View File

@ -417,7 +417,7 @@ namespace Bit.Core.Utilities
date = DateTime.UtcNow;
}
return date.Value.ToString("yyyy-MM-dd HH:mm:ss.fff");
return date.Value.ToUniversalTime().ToString("yyyy-MM-dd HH:mm:ss.fff");
}
}
}