Set default relation to START in alarm description

This commit is contained in:
Francis Lachapelle
2016-11-03 11:48:17 -04:00
parent c02c4aa834
commit 57a4286cd5

View File

@@ -65,6 +65,8 @@
[[self valueType] caseInsensitiveCompare: @"DURATION"] == NSOrderedSame)
{
relation = [[self relationType] uppercaseString];
if (![relation length])
relation = @"START";
duration = [self flattenedValuesForKey: @""];
i = 0;
c = [duration characterAtIndex: i];