is there a way to define the format of a date (datefield/timefield) so that the UTC date/time is displayed?
I´ve calculated the diff of two dates and return it as date object. In my display field I´m using the format "H:i". When displayed my timezone offset is added.
ex:
I´ve calculated a diff of 10:00 hours but the field displays "11:00" cause I´m living in GMT+0100.
I can of course substract the timezone offset from the diff date but maybe there´s a date format option that I´ve overseen? Otherwise this may be a suggestion for an enhancement.
as I already mentioned I know (and use) a workaround but it would be nice to have such a format pattern option.
In that can then use Date.toUTCString() or Ext.util.Date.format() or whatever.
Date. toUTCString() does not return a nice userfriendly string and with Ext.util.Date.format() you run into the same problem as I did. Probably not you because you are living in GMT tz but the 99% of people at the world who live somewhere else.