Go to file
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
db_patches Track what wikis a user has unread notifications on 2015-11-20 15:54:11 -08:00
i18n Localisation updates from https://translatewiki.net. 2015-12-21 22:04:12 +01:00
includes Use UTC timestamps in flyout 2015-12-22 17:07:31 +01:00
maintenance Fix broken and incomplete PHPDoc tags 2015-12-14 11:03:09 +01:00
modules Use UTC timestamps in flyout 2015-12-22 17:07:31 +01:00
scripts build: Enable phpcs rule 'MediaWiki.NamingConventions.PrefixedGlobalFunctions.wfPrefix' and make pass 2015-10-29 13:06:44 +01:00
tests Update mediawiki_selenium Ruby gem to the latest version 2015-12-16 16:39:54 +01:00
.csslintrc Add Grunt infrastructure for CI 2015-05-01 20:35:23 -07:00
.gitignore Run phpcs through "composer test", disabling failing rules 2015-10-29 12:52:32 +01:00
.gitreview Add .gitreview file 2012-04-28 01:26:21 +10:00
.jscsrc Actually pass jscs 2015-05-04 19:28:01 +00:00
.jshintignore Recurse into sub folders for jshint and jscs 2015-11-09 12:52:42 +00:00
.jshintrc Update formatting 2015-10-03 23:28:54 -04:00
.rubocop.yml Fixed Metrics/LineLength RuboCop offense 2015-09-29 14:59:05 +02:00
autoload.php Presentation model for edit-user-talk 2015-12-09 13:35:10 -05:00
composer.json Run phpcs through "composer test", disabling failing rules 2015-10-29 12:52:32 +01:00
COPYING Add COPYING 2014-01-24 16:00:24 -08:00
Echo.alias.php Add Czech alias of Special:Notifications 2015-12-07 17:21:16 +01:00
Echo.php Clarify link and revert icons on notifications 2015-12-17 20:04:33 +00:00
echo.sql Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
Gemfile Update mediawiki_selenium Ruby gem to the latest version 2015-12-16 16:39:54 +01:00
Gemfile.lock Update mediawiki_selenium Ruby gem to the latest version 2015-12-16 16:39:54 +01:00
Gruntfile.js Recurse into sub folders for jshint and jscs 2015-11-09 12:52:42 +00:00
Hooks.php Use the double speech bubble icon in the Messages panel 2015-12-16 18:02:48 -06:00
Makefile Hygiene: Dont run jshint against .less files 2014-09-05 16:45:34 -07:00
Notifier.php Update formatting 2015-10-03 23:28:54 -04:00
package.json Update grunt-jsonlint to 1.0.6 2015-12-09 21:50:29 +00:00
phpcs.xml build: Enable phpcs rule 'MediaWiki.VariableAnalysis.UnusedGlobalVariables' and make pass 2015-10-29 17:25:51 +00:00
Rakefile Added Rakefile 2015-11-10 10:25:12 +00:00
RELEASE_NOTES Allow multiple target pages per event 2015-03-31 07:56:52 +00:00
Resources.php Add OOUI widgets for cross-wiki bundled notifications 2015-12-14 17:22:34 -08:00