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([
1818 * @protected
1919 * @type {String }
2020 */
21- this . dateFormat_ = 'YYYY-MM-DD hh :mm:ss ' ;
21+ this . dateFormat_ = 'YYYY-MM-DD HH :mm:ssZ ' ;
2222
2323 /**
2424 * @protected
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ define([
2424 timestamp : Date . now ( )
2525 } ;
2626
27- date = moment ( entry . timestamp ) . format ( 'YYYY-MM-DD hh :mm:ss ' ) ;
27+ date = moment ( entry . timestamp ) . format ( 'YYYY-MM-DD HH :mm:ssZ ' ) ;
2828
2929 expect ( formatter . process ( entry ) ) . toBe ( '[' + date + '] [DEBUG] message text' ) ;
3030 } ) ;
@@ -43,7 +43,7 @@ define([
4343 }
4444 } ;
4545
46- date = moment ( entry . timestamp ) . format ( 'YYYY-MM-DD hh :mm:ss ' ) ;
46+ date = moment ( entry . timestamp ) . format ( 'YYYY-MM-DD HH :mm:ssZ ' ) ;
4747
4848 expect ( formatter . process ( entry ) ) . toBe ( '[' + date + '] [DEBUG] Foo Bar' ) ;
4949 } ) ;
You can’t perform that action at this time.
0 commit comments