diff options
author | Nick Pope <nick.pope@flightdataservices.com> | 2018-06-25 14:54:05 +0100 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2019-03-27 09:12:15 -0400 |
commit | 8c694317f87dd0db95b035216f9b49299a7512b3 (patch) | |
tree | c4c1ed0c337af929155cd4ae80dd247489ff5cbd /js_tests | |
parent | 93d1f2d209294fc41fa811130271c88575ff9339 (diff) | |
download | django-8c694317f87dd0db95b035216f9b49299a7512b3.tar.gz |
Removed unused Date.prototype.getHourMinuteSecond().
Unused since fa0653cd1d791a8bce835e8992cbeab6fd70d0e7.
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 eaf882dc4b..ef6ec03998 100644 --- a/js_tests/admin/core.test.js +++ b/js_tests/admin/core.test.js @@ -46,11 +46,6 @@ QUnit.test('Date.getHourMinute', function(assert) { assert.equal(new Date(2014, 6, 1, 13, 25).getHourMinute(), '13:25', '1:25 pm is 13:25'); }); -QUnit.test('Date.getHourMinuteSecond', function(assert) { - assert.equal(new Date(2014, 6, 1, 11, 0, 0).getHourMinuteSecond(), '11:00:00', '11:00 am is 11:00:00'); - assert.equal(new Date(2014, 6, 1, 17, 45, 30).getHourMinuteSecond(), '17:45:30', '5:45:30 pm is 17:45:30'); -}); - 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'); |