Permalink
Browse files

fixed

  • Loading branch information...
1 parent b960473 commit 1b9aa391fb5f256807d4577de08b3ca34c3c224a @riaf committed Dec 1, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Selfish/iCalendar/Component/Event.php
@@ -60,7 +60,7 @@ public function getStartAt()
{
return ($this->start_at instanceof \DateTime)
? str_replace(' ', 'T', $this->start_at->setTimezone(
- new DateTimeZone('Asia/Tokyo'))->format('Ymd His')
+ new \DateTimeZone('Asia/Tokyo'))->format('Ymd His')
) : $this->start_at;
}
@@ -74,7 +74,7 @@ public function getEndAt()
{
return ($this->end_at instanceof \DateTime)
? str_replace(' ', 'T', $this->end_at->setTimezone(
- new DateTimeZone('Asia/Tokyo'))->format('Ymd His')
+ new \DateTimeZone('Asia/Tokyo'))->format('Ymd His')
) : $this->end_at;
}
@@ -138,7 +138,7 @@ public function getCreatedAt()
{
return ($this->created_at instanceof \DateTime)
? str_replace(' ', 'T', $this->created_at->setTimezone(
- new DateTimeZone('Asia/Tokyo'))->format('Ymd His')
+ new \DateTimeZone('Asia/Tokyo'))->format('Ymd His')
) : $this->created_at;
}

0 comments on commit 1b9aa39

Please sign in to comment.