We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e52f6b commit 2719af6Copy full SHA for 2719af6
1 file changed
test/test-utils.js
@@ -12,7 +12,7 @@ function prototypeDate() {
12
var dt = new Date(1404723152167);
13
assert.ok(dt.toString() === 'Mon Jul 07 2014 09:52:32 GMT+0100 (UTC)', 'date problem');
14
assert.ok(dt.format() === '2014-07-07T08:52:32.167Z', 'date format(0) problem');
15
- assert.ok(dt.add('minute', 5).toString() === 'Mon Jul 07 2014 10:57:32 GMT+0200 (CEST)', 'date add');
+ assert.ok(dt.add('minute', 5).toString() === 'Mon Jul 07 2014 09:57:32 GMT+0100 (UTC)', 'date add');
16
assert.ok(dt.format('MMM') === 'Jul', 'month name 1');
17
assert.ok(dt.format('MMMM') === 'July', 'month name 2');
18
assert.ok(dt.format('MMM', 'sk') === 'Júl', 'localized month name 1');
0 commit comments