cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HMC & Backoffice show different times for a date attribute

0 Likes
1,235

I am able to see the different datetime values between hmc and backoffice for a custom attribute of type java.util.Date. Would like display the same datetime in hmc and backoffice? I am using hybris version 6.4.0.14

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member624549
Participant
0 Likes

The date time setup in backoffice (at least in the versions I used) is completely broken. I was not able to fix it and users must know how to adjust the times they see in backoffice:

https://answers.sap.com/questions/12870135/backoffice-defaultdateeditor-how-to-set-a-paramete.html

former_member633554
Active Participant
0 Likes

Backoffice has a timezone setting on date fields i believe.

When you press F4 to go into ochestration mode, you can open the backoffice cockpit config. Find the date field and you adjust the GMT zone to the right one.

See the

GMT+10:00 


<editorArea:tab
name="tab.configuration.abstractrule">


                <editorArea:section
name="sec.configuration.abstractrule.rulemanagement">


                    <editorArea:attribute
xmlns="http://www.hybris.com/cockpitng/component/editorArea"
qualifier="priority"/>


                    <editorArea:attribute
xmlns="http://www.hybris.com/cockpitng/component/editorArea"
qualifier="stackable"/>


                    <editorArea:attribute
xmlns="http://www.hybris.com/cockpitng/component/editorArea"
qualifier="ruleGroup"/>


                    <editorArea:attribute
xmlns="http://www.hybris.com/cockpitng/component/editorArea"
label="ruleengine.abstractrule.startdate"
qualifier="startDate">


                        <editorArea:editor-parameter>


                           
<editorArea:name>timeZoneReadOnly</editorArea:name>


                           
<editorArea:value>false</editorArea:value>


                           
</editorArea:editor-parameter>


                        <editorArea:editor-parameter>


                           
<editorArea:name>selectedTimeZone</editorArea:name>


                           
<editorArea:value>GMT+10:00</editorArea:value>


                           
</editorArea:editor-parameter>


                        <editorArea:editor-parameter>


                           
<editorArea:name>displayedTimeZones</editorArea:name>


                           
<editorArea:value>GMT-12:00,GMT-11:00,GMT-10:00,GMT-09:30,GMT-09:00,GMT-08:00,GMT-07:00,GMT-06:00,GMT-05:00,GMT-04:30,GMT-04:00,GMT-03:30,GMT-03:00,GMT-02:00,GMT-01:00,GMT+00:00,GMT+01:00,GMT+02:00,GMT+03:00,GMT+03:30,GMT+04:00,GMT+04:30,GMT+05:00,GMT+05:30,GMT+05:45,GMT+06:00,GMT+06:30,GMT+07:00,GMT+08:00,GMT+08:30,GMT+08:45,GMT+09:00,GMT+09:30,GMT+10:00,GMT+10:30,GMT+11:00,GMT+12:00,GMT+12:45,GMT+13:00,GMT+14:00</editorArea:value>


                           
</editorArea:editor-parameter>


                       
</editorArea:attribute>


                    <editorArea:attribute