fix: removed parseiCalDateTime
fix: remove jms/serializer from dep
This commit is contained in:
@@ -76,10 +76,15 @@ class iCalEventProcessor {
|
||||
|
||||
|
||||
// parse iCalendar event times to DateTime objects
|
||||
$entry = $this->taskwarrior->parseiCalDateTime($ToDoComponent->DSTAMP);
|
||||
$start = $this->taskwarrior->parseiCalDateTime($ToDoComponent->DSTART);
|
||||
$modified = $this->taskwarrior->parseiCalDateTime($ToDoComponent->{'LAST-MODIFIED'});
|
||||
$end = $this->taskwarrior->parseiCalDateTime($ToDoComponent->DTEND);
|
||||
//$entry = $this->taskwarrior->parseiCalDateTime($ToDoComponent->DSTAMP);
|
||||
//$start = $this->taskwarrior->parseiCalDateTime($ToDoComponent->DSTART);
|
||||
//$modified = $this->taskwarrior->parseiCalDateTime($ToDoComponent->{'LAST-MODIFIED'});
|
||||
//$end = $this->taskwarrior->parseiCalDateTime($ToDoComponent->DTEND);
|
||||
|
||||
$start = $ToDoComponent->DSTART;
|
||||
$entry = $ToDoComponent->DSTAMP;
|
||||
$modified = $ToDoComponent->{'LAST-MODIFIED'};
|
||||
$end = $ToDoComponent->DTEND;
|
||||
|
||||
$task = $this->taskwarrior->createTask($ToDoComponent->UID);
|
||||
|
||||
|
Reference in New Issue
Block a user