From a3c5e4a51bafb7d819b0d1997212ce54faa14a41 Mon Sep 17 00:00:00 2001 From: baldurk Date: Fri, 19 Sep 2014 17:55:35 +0100 Subject: [PATCH] Convert capture timestamp to local time --- renderdocui/Windows/Dialogs/LiveCapture.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdocui/Windows/Dialogs/LiveCapture.cs b/renderdocui/Windows/Dialogs/LiveCapture.cs index 0a76af81f..a8b68d3e4 100644 --- a/renderdocui/Windows/Dialogs/LiveCapture.cs +++ b/renderdocui/Windows/Dialogs/LiveCapture.cs @@ -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;