File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
app/code/Magento/Ui/view/base/web/js/lib/logger
dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/lib/logger Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ define([
18
18
* @protected
19
19
* @type {String }
20
20
*/
21
- this . dateFormat_ = 'YYYY-MM-DD hh :mm:ss ' ;
21
+ this . dateFormat_ = 'YYYY-MM-DD HH :mm:ssZ ' ;
22
22
23
23
/**
24
24
* @protected
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ define([
24
24
timestamp : Date . now ( )
25
25
} ;
26
26
27
- date = moment ( entry . timestamp ) . format ( 'YYYY-MM-DD hh :mm:ss ' ) ;
27
+ date = moment ( entry . timestamp ) . format ( 'YYYY-MM-DD HH :mm:ssZ ' ) ;
28
28
29
29
expect ( formatter . process ( entry ) ) . toBe ( '[' + date + '] [DEBUG] message text' ) ;
30
30
} ) ;
@@ -43,7 +43,7 @@ define([
43
43
}
44
44
} ;
45
45
46
- date = moment ( entry . timestamp ) . format ( 'YYYY-MM-DD hh :mm:ss ' ) ;
46
+ date = moment ( entry . timestamp ) . format ( 'YYYY-MM-DD HH :mm:ssZ ' ) ;
47
47
48
48
expect ( formatter . process ( entry ) ) . toBe ( '[' + date + '] [DEBUG] Foo Bar' ) ;
49
49
} ) ;
You can’t perform that action at this time.
0 commit comments