Details
-
Bug
-
Resolution: Duplicate
-
Neutral
-
None
-
None
-
None
-
None
Description
We have the following definition:
class: info.magnolia.ui.form.field.definition.CompositeFieldDefinition
fields:
- name: date
time: false
type: Date
required: true
class: info.magnolia.ui.form.field.definition.DateFieldDefinition
So we use it to indicate it a date.
It does hoever start with indicating a time zone in gray. Currently it displays:
Timezone: GMT + 1
Last week (still in summertime) it indicated: GMT + 2.
If someone last week indicate a date of this week, the date was stored according to GMT+2, and hence actually on the wrong date. (because dates are stored as timestamps at midnight)
I propose:
1. The timezone should be evaluated at the time of the time indicated, not at the current time.
2. For date fields showing a timezone is a bit odd, and could be ommitted.
Checklists
Acceptance criteria
Attachments
Issue Links
- duplicates
-
MGNLUI-4014 Investigate into corner cases: Wrong timezone calculation in DateFieldFactory
-
- Closed
-