Set default relation to START in alarm description

pull/225/head
Francis Lachapelle 2016-11-03 11:48:17 -04:00
parent c02c4aa834
commit 57a4286cd5
1 changed files with 2 additions and 0 deletions

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];