I get some data through odata into a grid and can open an data-entry through double click which requests the same data with an generated method in the same way. So far so good.
The strange thing is that my datetimes which I pull from the db show up in different ways.
In the grid I get an nice iso-formated date with time "yyyy-mm-dd HH:mm", in the details-popup I get "mm/dd/yyyy" without time. If I try to format it (utc or not, doesn't seem to make a format-related difference) through DateFormat:"yyyy-mm-dd HH:mm" it still doesn't look right. What am I doing wrong?
The difference comes from the fact that DataGrid is using template with Angular date pipe while the editor is PrimeNG DatePicker with their own formatting.