on ‎2020 Mar 26 1:43 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.