mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-25 00:05:29 +00:00
089d922ac7
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 |
||
---|---|---|
.. | ||
styles | ||
mw.echo.ui.ActionMenuPopupWidget.js | ||
mw.echo.ui.BadgeLinkWidget.js | ||
mw.echo.ui.BundledNotificationGroupWidget.js | ||
mw.echo.ui.js | ||
mw.echo.ui.NotificationBadgeWidget.js | ||
mw.echo.ui.NotificationGroupItemWidget.js | ||
mw.echo.ui.NotificationItemWidget.js | ||
mw.echo.ui.NotificationsWidget.js | ||
mw.echo.ui.PlaceholderItemWidget.js |