mirror of
https://github.com/mirror/processhacker
synced 2026-06-08 16:03:24 +00:00
creation times for all processes (no more "20 centuries ago")
git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1250 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
@@ -14,6 +14,7 @@ Process Hacker
|
||||
the memory and handle lists
|
||||
* Changed I/O tray icon tooltip from ROW to RWO
|
||||
* Corrupted usernames
|
||||
* Start times like "20 centuries ago"
|
||||
|
||||
1.3.7.5
|
||||
* NEW/IMPROVED:
|
||||
|
||||
@@ -595,7 +595,7 @@ namespace ProcessHacker
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Pid < 4)
|
||||
if (Pid < 4 || _pitem.CreateTime.Year == 1)
|
||||
return "";
|
||||
else
|
||||
return _pitem.CreateTime.ToString();
|
||||
@@ -606,7 +606,7 @@ namespace ProcessHacker
|
||||
{
|
||||
get
|
||||
{
|
||||
if (Pid < 4)
|
||||
if (Pid < 4 || _pitem.CreateTime.Year == 1)
|
||||
return "";
|
||||
else
|
||||
return Misc.GetNiceRelativeDateTime(_pitem.CreateTime);
|
||||
|
||||
@@ -801,15 +801,12 @@ namespace ProcessHacker
|
||||
}
|
||||
}
|
||||
|
||||
if (queryLimitedHandle != null)
|
||||
try
|
||||
{
|
||||
try
|
||||
{
|
||||
item.CreateTime = Misc.DateTimeFromFileTime(queryLimitedHandle.GetCreateTime());
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
item.CreateTime = Misc.DateTimeFromFileTime(processInfo.CreateTime);
|
||||
}
|
||||
catch
|
||||
{ }
|
||||
|
||||
if (pid > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user