Prevent datetime field conversion in Fractal Laravel

285
December 09, 2017, at 3:12 PM

I'm using dingo laravel package to create an API. As you know it uses another package named Fractal to output restful data structures.

But a problem that I have with them is automatically convert DateTime formatted fields like created_at and updated_at to an object includes date , timezone_type and timezone property.

Now I want to prevent this conversion. How can I do that ?

Rent Charter Buses Company
READ ALSO
Multiple checkbox array CakePHP 3.5

Multiple checkbox array CakePHP 3.5

I've looked all of the examples about checkbox array using cakephp 35

289
Show 'Free' if the price is 0.00 in Easy digital download

Show 'Free' if the price is 0.00 in Easy digital download

I want to show 'Free' if the price is 000

168
Have a PHP using excel_reader2 and in my XLS file the Anchor tag is not working correctly

Have a PHP using excel_reader2 and in my XLS file the Anchor tag is not working correctly

I have an issue with a link not working properlyI know it has something to do with the fact that the XLS file is a UTF-16LE string

286