File tree Expand file tree Collapse file tree 4 files changed +6
-13
lines changed
Ui/view/base/web/js/form/element
dev/tests/js/JsTestDriver/testsuite/mage/calendar
lib/internal/Magento/Framework/EntityManager/Operation/Write Expand file tree Collapse file tree 4 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 534
534
</argument >
535
535
</arguments >
536
536
</type >
537
- <type name =" Magento\Framework\EntityManager\OperationPool" >
538
- <arguments >
539
- <argument name =" operations" xsi : type =" array" >
540
- <item name =" default" xsi : type =" array" >
541
- <item name =" read" xsi : type =" string" >Magento\Framework\EntityManager\Operation\Read</item >
542
- <item name =" create" xsi : type =" string" >Magento\Framework\EntityManager\Operation\Write\Create</item >
543
- <item name =" update" xsi : type =" string" >Magento\Framework\EntityManager\Operation\Write\Update</item >
544
- <item name =" delete" xsi : type =" string" >Magento\Framework\EntityManager\Operation\Write\Delete</item >
545
- </item >
546
- </argument >
547
- </arguments >
548
- </type >
549
537
<type name =" Magento\Framework\Model\Entity\RepositoryFactory" >
550
538
<arguments >
551
539
<argument name =" entities" xsi : type =" array" >
Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ define([
116
116
} else {
117
117
shiftedValue = '' ;
118
118
}
119
+
119
120
if ( shiftedValue !== this . shiftedValue ( ) ) {
120
121
this . shiftedValue ( shiftedValue ) ;
121
122
}
@@ -131,6 +132,7 @@ define([
131
132
var value ;
132
133
133
134
if ( shiftedValue ) {
135
+
134
136
if ( this . showsTime ) {
135
137
value = moment . utc ( shiftedValue , this . datetimeFormat ) ;
136
138
value = value . subtract ( this . timeOffset , 'seconds' ) . toISOString ( ) ;
@@ -141,6 +143,7 @@ define([
141
143
} else {
142
144
value = '' ;
143
145
}
146
+
144
147
if ( value !== this . value ( ) ) {
145
148
this . value ( value ) ;
146
149
}
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ CalendarTest.prototype.testDateTimeMapping = function() {
75
75
/*:DOC += <input type="text" id="calendar" /> */
76
76
var calendar = $ ( '#calendar' ) . calendar ( { dateFormat : 'M/d/yy' , timeFormat : 'h:mm a' } ) ;
77
77
assertEquals ( 'mm/d/yy' , calendar . calendar ( 'option' , 'dateFormat' ) ) ;
78
- assertEquals ( 'h:mm tt ' , calendar . calendar ( 'option' , 'timeFormat' ) ) ;
78
+ assertEquals ( 'h:mm TT ' , calendar . calendar ( 'option' , 'timeFormat' ) ) ;
79
79
calendar . calendar ( 'destroy' ) ;
80
80
calendar . calendar ( { dateFormat : 'MMMM/EEEE/yyyy' , timeFormat : 'HH:mm' } ) ;
81
81
assertEquals ( 'MM/DD/yy' , calendar . calendar ( 'option' , 'dateFormat' ) ) ;
Original file line number Diff line number Diff line change 16
16
17
17
/**
18
18
* Class Delete
19
+ *
20
+ * @SuppressWarnings(PHPMD.CouplingBetweenObjects)
19
21
*/
20
22
class Delete
21
23
{
You can’t perform that action at this time.
0 commit comments