mardi 12 janvier 2016

JSON post, browser and application different times

Before i start eating my keyboard, maybe someone can help me out here...

Im using Angular Bootstrap to set a time. After posting the time, and checking my console, i see that the selected time is posted. But after checking my log file, i see that the time is posted minus 1 hour. I've set my app => timezone to Europe/Amsterdam (ECT if im right) but still cant find what is going wrong.

Can someone help me please?

Controller:

public function update( EventRequest $request, $eventGuid )
{
    Log::info($request->all());
    $this->event->updateById($request, $eventGuid);
}

Angular post will be done as: 2016-01-27 03:45:39

Console log: 2016-01-27 03:45:39 Laravel log: 2016-01-27 02:45:39



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire