PROJET AUTOBLOG


Shaarli - Les discussions de Shaarli

Archivé

Site original : Shaarli - Les discussions de Shaarli du 23/07/2013

⇐ retour index

php - What is the best way to change the user's timezone in Laravel 4? - Stack Overflow

mardi 22 avril 2014 à 12:10
Colibri, le 22/04/2014 à 12:10
Indispensable en 5.5 sinon on bouffe un max d'erreur. Il y a 3 méthodes du model de base à modifier.

- freshTimestamp()
- fromDateTime()
- asDateTime()

Ensuite tout tourne rond.
(Permalink)