File Date/Time changed to UTC to eliminate Daylight Savings Time Issue

This commit is contained in:
Rich
2011-12-02 16:28:53 +00:00
parent f5e8cca1f8
commit aed6c8740c
6 changed files with 21 additions and 21 deletions

View File

@@ -729,12 +729,12 @@ namespace VEPROMS
break;
}
FileInfo fiRofst = new FileInfo(rofstPath);
if (SelectedROFst.DTS == fiRofst.LastWriteTime)
if (SelectedROFst.DTS == fiRofst.LastWriteTimeUtc)
{
MessageBox.Show("ro.fst files are same for path " + rdi.FolderPath + ", import of that ro.fst will not be done");
break;
}
if (SelectedROFst.DTS > fiRofst.LastWriteTime)
if (SelectedROFst.DTS > fiRofst.LastWriteTimeUtc)
{
MessageBox.Show("Cannot copy older ro.fst from " + rdi.FolderPath + ", import of that ro.fst will not be done");
break;