diff options
| author | Nick Pope <nick.pope@flightdataservices.com> | 2018-06-25 14:54:54 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2019-03-27 09:12:44 -0400 |
| commit | a25029b33607b72d0bfc2ffd449bafe1ab3beeab (patch) | |
| tree | 5494e04c275864cfeed34b78c517bc75e68dd753 /js_tests | |
| parent | 8c694317f87dd0db95b035216f9b49299a7512b3 (diff) | |
Removed unused Date.prototype.getHourMinute().
Unused since d2180a6bf3a72bad67bf4897b0ce2d94a6214fc4.
Diffstat (limited to 'js_tests')
| -rw-r--r-- | js_tests/admin/core.test.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/js_tests/admin/core.test.js b/js_tests/admin/core.test.js index ef6ec03998..8904e5ad9f 100644 --- a/js_tests/admin/core.test.js +++ b/js_tests/admin/core.test.js @@ -41,11 +41,6 @@ QUnit.test('Date.getTwoDigitSecond', function(assert) { assert.equal(new Date(2014, 6, 1, 0, 0, 20).getTwoDigitSecond(), '20', '12:00:20 am is 20'); }); -QUnit.test('Date.getHourMinute', function(assert) { - assert.equal(new Date(2014, 6, 1, 11, 0).getHourMinute(), '11:00', '11:00 am is 11:00'); - assert.equal(new Date(2014, 6, 1, 13, 25).getHourMinute(), '13:25', '1:25 pm is 13:25'); -}); - QUnit.test('Date.strftime', function(assert) { var date = new Date(2014, 6, 1, 11, 0, 5); assert.equal(date.strftime('%Y-%m-%d %H:%M:%S'), '2014-07-01 11:00:05'); |
