I think I found a possible explanation...
For historical reasons (not my decision) date-time values are split into two columns in DB... date and time...
I'm taking the time value and it goes wrong around Daylight saving... However! If I add the date part and then do the formatting the result as expected...