I have hit a strange problem with timestamp conversion in a Blade file, but I'm not sure if this is a Blade/Laravel/Carbon or PHP issue.
I can replicate the problem in tinker using either the
\Carbon\Carbon lib or the
So the problem is that this command:
dies with this error:
Exception with message 'DateTime::__construct(): Failed to parse time string (1544690366) at position 8 (6): Unexpected character'
However swap out that
6 for another number and:
But that's not right either!
I'm sure I'm missing something really obvious here, but have you got any thoughts?