mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-05 12:15:32 +00:00
Fixed: date comparisons in CPPredicateEditor (#2449)
CPPredicateEditorRowTemplate has been modified to allow a correct comparision of date objects when using the CPDateAttributeType Before this correction, the predicate format was using a string representation of a date instead of a date object.
This commit is contained in:
1 parent
c38daac646
commit
818d5d782f
1 file changed
+2
@@ -474,6 +474,8 @@ CPTransformableAttributeType = 1800;
|
||||
value = [aView intValue];
|
||||
else if (attributeType == CPBooleanAttributeType)
|
||||
value = [aView state];
|
||||
else if (attributeType == CPDateAttributeType)
|
||||
value = [aView dateValue];
|
||||
else
|
||||
value = [aView stringValue];
|
||||
|
||||
|
||||
Reference in new issue
Block a user