mediawiki-extensions-Echo/modules/viewmodel
Matthias Mullie 089d922ac7 Use UTC timestamps in flyout
We already output unix timestamp both in user preference timezone as well as
utc, but we only had the user timezone version for TS_MW format.
While we could change the frontend to use the unix timestamp format, I don't see
any reason not to also include the MW format in utc. Frontend can now easily use
that.

Also fixed creation of the moment object. The timestamp was created as UTC, but
the way it got there was wrong: it expects the timezone offset (Z) to be
included in the timestamp, which is not the case (so it just ended up at +0:00,
which was fine, but confusing). I removed the 'Z' and forced it to be
interpreted as utc.

Bug: T121813
Change-Id: I09403615a1ffbde5dd69af9914afdbdd86cbfe4d
2015-12-22 17:07:31 +01:00
..
handlers Add OOUI widgets for cross-wiki bundled notifications 2015-12-14 17:22:34 -08:00
mw.echo.dm.js Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
mw.echo.dm.List.js Implement SortedList in Echo notifications 2015-11-06 11:01:10 -08:00
mw.echo.dm.NotificationGroupItem.js Add OOUI widgets for cross-wiki bundled notifications 2015-12-14 17:22:34 -08:00
mw.echo.dm.NotificationItem.js Add OOUI widgets for cross-wiki bundled notifications 2015-12-14 17:22:34 -08:00
mw.echo.dm.NotificationList.js Split alerts and messages in Echo 2015-09-02 15:36:37 -07:00
mw.echo.dm.NotificationsModel.js Use UTC timestamps in flyout 2015-12-22 17:07:31 +01:00
mw.echo.dm.SortedList.js Implement SortedList in Echo notifications 2015-11-06 11:01:10 -08:00