mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RevisionSlider
synced 2024-11-15 11:40:43 +00:00
7b75c1ebf2
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 |
||
---|---|---|
.. | ||
RevisionSlider.Pointer.test.js | ||
RevisionSlider.PointerView.test.js | ||
RevisionSlider.Revision.test.js | ||
RevisionSlider.RevisionList.test.js | ||
RevisionSlider.Slider.test.js | ||
RevisionSlider.SliderView.test.js | ||
RevisionSlider.test.js |