Skip to content

Commit

Permalink
Merge pull request #9 from ankurk91/patch/valarm
Browse files Browse the repository at this point in the history
Enable time in trigger property in Alert component
rubenvanassche authored Dec 20, 2019

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
2 parents 0da7e3c + 3cccf5b commit 87a3bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/Alert.php
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ protected function payload(): ComponentPayload
->textProperty('ACTION', 'DISPLAY')
->textProperty('DESCRIPTION', $this->message)
->property(
new DateTimePropertyType('TRIGGER', $this->triggerAt),
new DateTimePropertyType('TRIGGER', $this->triggerAt, true),
[new Parameter('VALUE', 'DATE-TIME')]
);
}

0 comments on commit 87a3bc4

Please sign in to comment.