Support the ongoing development of Laravel.io →

FusionDesign

Joined 31 Oct 2014

Statistics

Threads 1
Replies 3
Solutions 1
Articles 0

Carbon::createFromFormat suddenly broke?

I created this quick snippet of code to display the Output: $dates = []; for ($i=1; $i <= 12;...

0 Likes
3 Replies
Solved
replied 10 years ago

Carbon::createFromFormat suddenly broke?

$dates = []; for ($i=1; $i <= 12; $i++) { $dates[] = Carbon::createFromFormat('Y-n-d', "...

0 Likes
Solved
replied 10 years ago

Carbon::createFromFormat suddenly broke?

<?php dd( DateTime::createFromFormat('m', '11')->format('F') ); // Output: string(8) "Decemb...

0 Likes
replied 10 years ago

Carbon::createFromFormat suddenly broke?

I looked up the Carbon method createFromFormat, which appears to just be a wrapper for DateTime::cre...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.