beyondcode / beyondcode/invoker-community
All Mailables that use Carbon are broken
- Dominant language
- No language data
- Stars
- 76
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure what's happening here in Invoker, but it seems like any of them that use Carbon (and use it fine in the actual website) are trying to create it with the wrong datetime format. I changed the one in the settings of Invoker to be Y-m-d H:i:s but it's still trying to create mailables with the wrong datetime.
------
**OS**: darwin
**Invoker Version**: 2.13.2
**Laravel Version**: 7.14.1
**Local project**: unknown
**PHP Binary**: /usr/local/bin/php
**Route**: /mails/details?class=App%5CMail%5CReservationReminder&project=remote-uCdcT9RxwSnUEjzeiqj6tv
**Error**:
```
Carbon\Exceptions\InvalidFormatException
Unexpected data found.
Trailing data
at vendor/nesbot/carbon/src/Carbon/Traits/Creator.php:641
637| return $instance;
638| }
639|
640| if (static::isStrictModeEnabled()) {
> 641| throw new InvalidFormatException(implode(PHP_EOL, $lastErrors['errors']));
642| }
643|
644| return false;
645| }
[2m+1 vendor frames [22m
2 app/Reservation.php:77
Carbon\Carbon::createFromFormat("Y-m-d H:i:s", "2016-02-01T23:48:14.000000Z")
[2m+6 vendor frames [22m
9 [internal]:0
Illuminate\Support\Collection::Illuminate\Support\Traits\{closure}(Object(App\Reservation))
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.