My Oracle Support Banner

[OSF] SKU Custom date Property Is Showing The Wrong Date format (Doc ID 2864776.1)

Last updated on AUGUST 19, 2022

Applies to:

Oracle Commerce Cloud Service - Version 22.1.10 and later
Information in this document applies to any platform.

Symptoms

SKU dynamic property of type date shows incorrect value. It appears that the property is not adjusted to browser timezone.

Steps to Reproduce
1.Create a date type product dynamic property (x_date)
2.Create a date type SKU dynamic property (x_dateSku)
3.Create a product (prod1) of the type
4. Create a SKU (sku1) underneath the product

5. Set the product and SKU properties using ccdebug to '2021-12-01 00:00:00.0'

PUT /ccadminui/v1/products/prod1
{
"properties": {
"x_date": "2021-12-01T00:00:00.000Z"}
}

PUT /ccadminui/v1/skus/sku1
{
"x_dateSku": "2021-12-01T00:00:00.000Z"
}

SKU date property is not in browser format and shows the UTC time.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.