mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Removed unused Date.prototype.getHourMinute().
Unused since d2180a6bf3
.
This commit is contained in:
parent
8c694317f8
commit
a25029b336
2 changed files with 0 additions and 9 deletions
|
@ -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');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue