aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Object/Groupware/Event.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/Object/Groupware/Event.pm b/lib/Object/Groupware/Event.pm
index 7384176..1e1df87 100644
--- a/lib/Object/Groupware/Event.pm
+++ b/lib/Object/Groupware/Event.pm
@@ -68,10 +68,14 @@ ADJUST {
}
}
- $log->tracef( "Object %s contents:\n%s", __CLASS__,
- decode_utf8 $entry->as_string );
+ $log->tracef(
+ "Object %s contents:\n%s", __CLASS__,
+ decode_utf8 $entry->as_string
+ );
}
+method start_date { $start->strftime('%F') }
+method end_date { $end->strftime('%F') }
method attendees { !!@attendees ? [@attendees] : undef }
method attachments { !!@attachments ? [@attachments] : undef }