Set default relation to START in alarm description
parent
c02c4aa834
commit
57a4286cd5
|
@ -65,6 +65,8 @@
|
||||||
[[self valueType] caseInsensitiveCompare: @"DURATION"] == NSOrderedSame)
|
[[self valueType] caseInsensitiveCompare: @"DURATION"] == NSOrderedSame)
|
||||||
{
|
{
|
||||||
relation = [[self relationType] uppercaseString];
|
relation = [[self relationType] uppercaseString];
|
||||||
|
if (![relation length])
|
||||||
|
relation = @"START";
|
||||||
duration = [self flattenedValuesForKey: @""];
|
duration = [self flattenedValuesForKey: @""];
|
||||||
i = 0;
|
i = 0;
|
||||||
c = [duration characterAtIndex: i];
|
c = [duration characterAtIndex: i];
|
||||||
|
|
Loading…
Reference in New Issue