mediawiki-extensions-Revisi.../tests
Moriel Schottlender 7b75c1ebf2 Use momentjs to display internationalized timestamps
MediaWiki uses the momentJS module to display standard timestamps;
this means you can avoid calculating the user offset, but also, it
means that all timestamps are internationalized and translated, and
use the standard view that MW uses in its interfaces.

We can store the user's offset in a RevisionSlider variable so we can
refer to it in timestamp construction, as well as manipulate it in
tests without touching any global user options that may affect other
tests.

Bug: T136825
Change-Id: I67d9859b8f33ab8a217128822e246e7ab67f6511
2016-06-03 13:20:35 +00:00
..
RevisionSlider.Pointer.test.js Make JavaScript code and CSS follow the style guide. 2016-05-31 14:57:14 +02:00
RevisionSlider.PointerView.test.js Make JavaScript code and CSS follow the style guide. 2016-05-31 14:57:14 +02:00
RevisionSlider.Revision.test.js Use momentjs to display internationalized timestamps 2016-06-03 13:20:35 +00:00
RevisionSlider.RevisionList.test.js Improve SliderView rendering tests 2016-05-31 14:56:08 +02:00
RevisionSlider.Slider.test.js Improve SliderView rendering tests 2016-05-31 14:56:08 +02:00
RevisionSlider.SliderView.test.js Make JavaScript code and CSS follow the style guide. 2016-05-31 14:57:14 +02:00
RevisionSlider.test.js Make files not executable 2016-06-02 13:48:09 +00:00