fix date format
This commit is contained in:
		| @@ -12,6 +12,6 @@ class DateFormat extends BaseFormat | ||||
|      */ | ||||
|     static function fetch(?string $data, string $options = ""): ?string | ||||
|     { | ||||
|         return (new DateTimeImmutable($data))->format($options) ?? null; | ||||
|         return (new DateTimeImmutable($data ?? ""))->format($options) ?? null; | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user