UNPKG

moment-jdateformatparser

Version:

Translates the `java.text.SimpleDateFormat` date format to the `moment.js` date format.

37 lines (26 loc) 1.15 kB
<!doctype html> <html> <head> <meta charset='UTF-8'/> <meta http-equiv='content-type' content='text/html; charset=utf-8'/> <title>moment-jdateformatparser QUnit Test Runner</title> <link rel='stylesheet' href='../bower_components/qunit/qunit/qunit.css'> <script src='../bower_components/momentjs/moment.js'></script> <!-- add any external libraries your code needs --> <script src='../bower_components/jquery/jquery.min.js'></script> <script src='../moment-jdateformatparser.js'></script> <!-- add any JS files under test (or put them in different .html files) --> <script src='../bower_components/qunit/qunit/qunit.js'></script> <!-- your tests, any and all to run with the given fixtures below --> <script src='toMomentTests.js'></script> <script src='toJavaTests.js'></script> <script src='formatWithJavaTests.js'></script> </head> <body> <div id="qunit"></div> <!-- QUnit fills this with results, etc --> <div id='qunit-fixture'> <!-- any HTML you want to be present in each test (will be reset for each test) --> </div> </body> </html>