Fix: Bugs

Javascript: Warranty Job Details; AD Interop
This commit is contained in:
Gary Sharp
2013-02-21 18:27:50 +11:00
parent 9e2f9a646f
commit e8e141c9af
11 changed files with 920 additions and 919 deletions
@@ -245,6 +245,9 @@ namespace Disco.BI.Interop.ActiveDirectory
{
if (d.LastNetworkLogonDate.HasValue)
{
// Change accuracy to the second
computerLastLogonDate = new DateTime((computerLastLogonDate.Ticks / 10000000L) * 10000000L);
if (System.DateTime.Compare(d.LastNetworkLogonDate.Value, computerLastLogonDate) < 0)
{
d.LastNetworkLogonDate = computerLastLogonDate;