--- nag/lib/Driver.php.orig	2008-06-27 11:28:20.000000000 +0200
+++ nag/lib/Driver.php	2008-06-27 13:53:28.000000000 +0200
@@ -1269,9 +1268,16 @@
                 $this->alarm = 1;
             }
         }
-
-        // @TODO: vCalendar 2.0 alarms
-
+		
+		$components = $vTodo->getComponents();
+		foreach($components as $c) {
+			if($c->getType() == 'vAlarm') {
+				$myalarm = $c->getAttribute('TRIGGER;VALUE=DURATION');
+				$this->alarm = intval(Horde_iCalendar::_parseDuration($myalarm) / -60);
+			}
+			break;
+		}
+		
         $desc = $vTodo->getAttribute('DESCRIPTION');
         if (!is_array($desc) && !is_a($desc, 'PEAR_Error')) {
             $this->desc = $desc;