Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed

  • Loading branch information...
commit 1b9aa391fb5f256807d4577de08b3ca34c3c224a 1 parent b960473
@riaf authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Selfish/iCalendar/Component/Event.php
View
6 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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.