File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
app/code/Magento/Ui/Test/Unit/Component/Form/Element/DataType Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,6 @@ public function testPrepareWithoutTimeOffset()
117
117
$ this ->assertArrayHasKey ('options ' , $ config );
118
118
$ this ->assertArrayHasKey ('dateFormat ' , $ config ['options ' ]);
119
119
$ this ->assertEquals ($ localeDateFormat , $ config ['options ' ]['dateFormat ' ]);
120
-
121
120
}
122
121
123
122
/**
Original file line number Diff line number Diff line change @@ -246,7 +246,7 @@ define([
246
246
var newFormat ;
247
247
248
248
newFormat = format . replace ( / y y | y / gi, 'YYYY' ) ; // replace the year
249
- newFormat = newFormat . replace ( / d d | d / g, 'DD' ) ; // replace the date
249
+ newFormat = newFormat . replace ( / d d | d / g, 'DD' ) ; // replace the day
250
250
251
251
return newFormat ;
252
252
}
You can’t perform that action at this time.
0 commit comments