diff --git a/.gitignore b/.gitignore index 09c26fe..ec95275 100644 --- a/.gitignore +++ b/.gitignore @@ -334,4 +334,5 @@ src/PrayerTracker/appsettings.json docs/_site **/*.db* -.ionide \ No newline at end of file +.ionide +.vscode diff --git a/src/PrayerTracker.Tests/UI/ViewModelsTests.fs b/src/PrayerTracker.Tests/UI/ViewModelsTests.fs index 5b08c81..0ba5f54 100644 --- a/src/PrayerTracker.Tests/UI/ViewModelsTests.fs +++ b/src/PrayerTracker.Tests/UI/ViewModelsTests.fs @@ -604,7 +604,7 @@ let requestListTests = } let html = htmlList.AsHtml _s let expected = - htmlList.Requests[0].UpdatedDate.InUtc().Date.ToString ("d", null) + htmlList.Requests[0].UpdatedDate.InZone(SmallGroup.timeZone reqList.SmallGroup).Date.ToString ("d", null) |> sprintf """Zeb – zyx  (as of %s)""" // spot check; if one request has it, they all should Expect.stringContains html expected "Expected short as-of date not found" @@ -619,7 +619,7 @@ let requestListTests = } let html = htmlList.AsHtml _s let expected = - htmlList.Requests[0].UpdatedDate.InUtc().Date.ToString ("D", null) + htmlList.Requests[0].UpdatedDate.InZone(SmallGroup.timeZone reqList.SmallGroup).Date.ToString ("D", null) |> sprintf """Zeb – zyx  (as of %s)""" // spot check; if one request has it, they all should Expect.stringContains html expected "Expected long as-of date not found"