Skip to content

Commit

Permalink
Fix ISO issue after integration test failure
Browse files Browse the repository at this point in the history
  • Loading branch information
meezaan committed Jul 13, 2020
1 parent 2c1537d commit a77af5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PrayerTimes/PrayerTimes.php
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ private function getFormattedTime($time, $format)
$date = clone $this->date;

if ($format == self::TIME_FORMAT_ISO8601) {
$date->add(new \DateInterval('PT' . $hours . 'H' . $twoDigitMinutes . 'M'));
$date->setTime($hours, $twoDigitMinutes);
return $date->format(DateTime::ATOM);
}

Expand Down

0 comments on commit a77af5c

Please sign in to comment.