Added PHP complement for mw.Time.
authorTyler Anthony Romeo <tylerromeo@gmail.com>
Tue, 31 Jul 2012 19:37:01 +0000 (15:37 -0400)
committerTyler Anthony Romeo <tylerromeo@gmail.com>
Fri, 31 Aug 2012 00:44:09 +0000 (20:44 -0400)
commite738203a8e1cff8d5841c561ae8b8c17f92c5bbf
tree8eee4ac118d2d99fe849cd02abc3c657d8ca13a2
parent987319a54adf9f6208534b5ac3b60d6f88bbf7e4
Added PHP complement for mw.Time.

Figured since a JS Timestamp class was being implemented
it might be appropriate to create a complementary PHP
Timestamp class. Much of code is taken from wfTimestamp().

Note: Another change (I53dcf547) is attempting a related
issue. Not sure how much of scope overlap there is.

Change-Id: I68eb9f27eebe80df757187f634392e1bcba5551f
Signed-off-by: Tyler Romeo <tylerromeo@gmail.com>
includes/AutoLoader.php
includes/GlobalFunctions.php
includes/Timestamp.php [new file with mode: 0644]
tests/phpunit/includes/TimestampTest.php [new file with mode: 0644]
tests/phpunit/includes/media/BitmapMetadataHandlerTest.php