Use DateTimeOffset with fixed time zone in tests to allow it to work in
non-PST timezones.
This commit is contained in:
parent
3a3acde904
commit
124496a12f
|
|
@ -1474,7 +1474,7 @@ namespace Microsoft.AspNet.Mvc.FunctionalTests
|
|||
Year = 2013,
|
||||
InspectedDates = new DateTimeOffset[]
|
||||
{
|
||||
new DateTime(2008, 11, 01)
|
||||
new DateTimeOffset(new DateTime(2008, 11, 01), TimeSpan.FromHours(-7))
|
||||
},
|
||||
Make = "RealSlowCars",
|
||||
Model = "Epsum",
|
||||
|
|
|
|||
Loading…
Reference in New Issue