How To Define Timezone on Lumen Laravel

Maybe it is little bit tricky and very simple because it’s related with timezone. But i think i need to write it down because i didn’t find any documentation explain about this clearly.

So, if have problem that your data/time not exactly as your timezone you need to set it in environment file.

APP_TIMEZONE=ASIA/JAKARTA

you just replace the value of my timezone, and that’s enough 🙂

Tinggalkan Balasan

Alamat email Anda tidak akan dipublikasikan. Ruas yang wajib ditandai *