MarkTraceur has uploaded a new change for review. Change subject: Add mw.Time ......................................................................
Add mw.Time I realized that having an easy library for creating Date objects that can be easily converted to/from MediaWiki-style timestamps, and which can be used to output messages like "5 days ago", might be very useful. So, here it is. I made sure to add in tests, the code conventions are (should be) followed, and it all appears to run. Change-Id: I9f9ca62f0744f0abc8f0fb5a994aba22b6b08597 --- M languages/messages/MessagesEn.php M languages/messages/MessagesQqq.php M resources/Resources.php A resources/mediawiki/mediawiki.Time.js M tests/qunit/QUnitTestResources.php A tests/qunit/suites/resources/mediawiki/mediawiki.Time.test.js 6 files changed, 264 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core refs/changes/48/16848/1 -- To view, visit https://gerrit.wikimedia.org/r/16848 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I9f9ca62f0744f0abc8f0fb5a994aba22b6b08597 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/core Gerrit-Branch: master Gerrit-Owner: MarkTraceur <mtrac...@member.fsf.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits