File Date/Time changed to UTC to eliminate Daylight Savings Time Issue
This commit is contained in:
@@ -339,7 +339,7 @@ namespace VEPROMS.CSLA.Library
|
||||
|
||||
// using (RODb rd = RODb.Get(rdi.RODbID))
|
||||
// {
|
||||
// ROFst rofst = ROFst.MakeROFst(rd, ab, null, di.LastWriteTime, rdi.UserID);
|
||||
// ROFst rofst = ROFst.MakeROFst(rd, ab, null, di.LastWriteTimeUtc, rdi.UserID);
|
||||
// // Hook this into the current docversion by replacing the rofstid field in the doc version
|
||||
// // association object:
|
||||
// dva.MyROFst = rofst;
|
||||
@@ -428,7 +428,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// {
|
||||
// FileInfo fi = new FileInfo(imgfile);
|
||||
// // if the roimage record exists, don't create a new one...
|
||||
// using (roImg = ROImage.GetByRODbID_FileName_DTS(rdi.RODbID, imgname, fi.LastWriteTime))
|
||||
// using (roImg = ROImage.GetByRODbID_FileName_DTS(rdi.RODbID, imgname, fi.LastWriteTimeUtc))
|
||||
// {
|
||||
// if (roImg == null)
|
||||
// {
|
||||
@@ -439,7 +439,7 @@ namespace VEPROMS.CSLA.Library
|
||||
// fsIn.Close();
|
||||
// using (RODb rodb = RODb.Get(rdi.RODbID))
|
||||
// {
|
||||
// roImg = ROImage.MakeROImage(rodb, imgname, ab, null, fi.LastWriteTime, "Migration");
|
||||
// roImg = ROImage.MakeROImage(rodb, imgname, ab, null, fi.LastWriteTimeUtc, "Migration");
|
||||
// }
|
||||
// }
|
||||
// Figure figure = Figure.GetByROFstID_ImageID(this.ROFstID, roImg.ImageID);
|
||||
|
Reference in New Issue
Block a user