Skip to content

Commit 34deff5

Browse files
amandiobmjamesmills
authored andcommitted
Added null as default value (jamesmills#17)
1 parent e7f7fc7 commit 34deff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Timezone.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
class Timezone
88
{
9-
public function convertToLocal(Carbon $date, $format = 'jS F Y g:i:a', $format_timezone = false)
9+
public function convertToLocal(Carbon $date, $format = null, $format_timezone = false)
1010
{
1111
if (is_null($date)) {
1212
return 'Empty';

0 commit comments

Comments
 (0)