Skip to content
This repository has been archived by the owner on Mar 22, 2024. It is now read-only.

Commit

Permalink
Close #1
Browse files Browse the repository at this point in the history
  • Loading branch information
meysampg committed Sep 21, 2016
1 parent eadca88 commit fc8d5b6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions IntlDateTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ public function asDateTime($pattern = 'yyyy/MM/dd, HH:mm:ss')

public function asTimestamp()
{
$oldPattern = $this->getFinalPattern();
$timeValue = strtotime($this->asDateTime());
$this->setFinalPattern($oldPattern);

return $this->getIntlCalendar()->toDateTime()->format('U');
}

Expand Down

0 comments on commit fc8d5b6

Please sign in to comment.