Skip to content
This repository has been archived by the owner on Oct 6, 2019. It is now read-only.

Store DataConsentTermsLastChange in round-trip format #1179

Merged
merged 3 commits into from
Sep 27, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,7 @@ public HttpResponseMessage ResetTermsAgreement(ResetTermsAgreementRequest reques
return Request.CreateErrorResponse(HttpStatusCode.Unauthorized, AuthFailureMessage);
}
UserController.ResetTermsAgreement(pid);
PortalController.UpdatePortalSetting(pid, "DataConsentTermsLastChange", DateTime.Now.ToString("u"), true);
PortalController.UpdatePortalSetting(pid, "DataConsentTermsLastChange", DateTime.Now.ToString("O", CultureInfo.InvariantCulture), true);
return Request.CreateResponse(HttpStatusCode.OK, new { Success = true });
}
catch (Exception exc)
Expand Down