Skip to content

Commit

Permalink
Return iso
Browse files Browse the repository at this point in the history
  • Loading branch information
choval committed Aug 12, 2019
1 parent 0ad4866 commit 9168db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function format(string $format='c', $timezone=NULL) : string {
* toString magic method
*/
public function __toString() {
return $this->format('c');
return $this->iso();
}


Expand Down

0 comments on commit 9168db5

Please sign in to comment.