This commit is contained in:
@@ -2533,7 +2533,7 @@ namespace AyaNova.Util
|
||||
var tempHour = Fake.Random.Int(9, 17);//9am to 5 pm (except some times may be in different dst state so this will be out by an hour for example depending on time of year and time zone in question)
|
||||
var woDate = DesiredTimeInUtc(new DateTime(tempDate.Year, tempDate.Month, tempDate.Day, tempHour, 0, 0));
|
||||
|
||||
|
||||
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.CompleteByDate = woDate.AddDays(5);
|
||||
// o.CustomerContactName = "contact name here";
|
||||
o.CustomerId = Fake.Random.Long(1, TotalSeededCustomers);
|
||||
|
||||
Reference in New Issue
Block a user