cuba-platform / cuba

CUBA Platform is a high level framework for enterprise applications development
https://www.cuba-platform.com
Apache License 2.0
1.34k stars 219 forks source link

Date-time attribute in EntityLog is showing default time instead of picked time-zone time #3214

Open imorenov94 opened 3 years ago

imorenov94 commented 3 years ago

Environment

Description

  1. Create a new project
  2. Create entity with defaults screens
  3. Run the application
  4. Navigate to Help->Settings->Change the time zone to another from current
  5. Navigate to Entity Log
  6. Set up logging for the entity from step 2
  7. Create a new instance of the entity from application screens
  8. Navigate to Entity Log->View and check the date-time for created instance of the entity

ER: Date-time should be according to the picked time zone AR: Date-time left as for default time zone

Link to the forum question

wwnjj13 commented 3 years ago

The formatter element of the column in the XML descriptor is simply a missing useUserTimezone="true"