This commit is contained in:
@@ -2863,7 +2863,9 @@ namespace AyaNova.Util
|
||||
bool olderThanOneWeekAgo = (woDate.Subtract(DateTime.UtcNow).TotalDays < -7);
|
||||
bool isFutureDate = woDate > DateTime.UtcNow;
|
||||
|
||||
o.CreatedDate = woDate > DateTime.UtcNow ? DateTime.UtcNow : woDate;//no created dates in future but want a range of past dates to show off age of wo
|
||||
o.CreatedDate = woDate > DateTime.UtcNow ? DateTime.UtcNow.Subtract(new TimeSpan(Fake.Random.Int(1,30),0,0,0)) : woDate;//no created dates in future but want a range of past dates to show off age of wo
|
||||
|
||||
|
||||
o.CompleteByDate = woDate.AddDays(5);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user