I've realized my application is writing dates the day before they are indicated (For example, when inserting dates within a spreadsheet file import). I set the local timezone once and now all dates are 4 hours earlier and the day before. How can I fix these so that it doesn't happen again.
config/app.php says: 'timezone' => 'America/Santiago'
(When I type now()
on tinker
date and time are right).
Should I leave it as 'UTC'
? Was that the cause?
What do I do with the already written dates set at 20:00:00
the day before?