Convert capture timestamp to local time

This commit is contained in:
baldurk
2014-09-19 17:55:35 +01:00
parent 9c23d67c30
commit a3c5e4a51b
+1 -1
View File
@@ -183,7 +183,7 @@ namespace renderdocui.Windows
{
uint capID = m_Connection.CaptureFile.ID;
DateTime timestamp = new DateTime(1970, 1, 1, 0, 0, 0);
timestamp = timestamp.AddSeconds(m_Connection.CaptureFile.timestamp);
timestamp = timestamp.AddSeconds(m_Connection.CaptureFile.timestamp).ToLocalTime();
byte[] thumb = m_Connection.CaptureFile.thumbnail;
string path = m_Connection.CaptureFile.localpath;