Virtual Happy Hour is canceled this month (March) due to Good Friday.
Virtual Happy Hour is canceled this month (March) due to Good Friday.
EPiServer.CMS.Core 10.5.0
Feb 24, 2017
Mar 15, 2017
CMS Core
Closed, Fixed and tested
I tried to update the property DatabaseDateTimeKind of an existing store by:
set
storeParams.DatabaseDateTimeKind = DatabaseDateTimeKind.Utc;
then remap store and commit change
storeDefinition.Remap(typesBag, storeParams);
storeDefinition.CommitChanges();
But after calling the CreateStore method, I get a store with storeDefinition.DatabaseDateTimeKind as Unspecified.
I can set DatabaseDateTimeKind after remapping the store as follows:
storeDefinition.Remap(typesBag, storeParams);
if (storeParams.DatabaseDateTimeKind.HasValue)
{
storeDefinition.DatabaseDateTimeKind = storeParams.DatabaseDateTimeKind.Value;
}
storeDefinition.CommitChanges();