New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

bencomeau/usertimezone

A simple solution for converting Laravel's default dates attributes to a user's set timezone, for 5.2+
6 1
Install
composer require bencomeau/usertimezone:dev-master
PHP:>=5.6.0
License:MIT
Last Updated:Oct 14, 2016
Links: GitHub  ·  Packagist
Maintainer: bencomeau

UserTimezone for Laravel 5.2+

Instead of manually writing mutators or making app-wide timezone changes, this package allows one to set a user-based timezone.

It will automatically convert dates using Laravel's "dates" column without the need to write custom mutators for each attribute.

Installation

Usage

Related Packages

camroncade/timezone

Helps manage timezones in Laravel. Includes <select> form builder for timezones.

1,109,619 159
jamesmills/laravel-timezone

Timezone storage and retrieval for Laravel

865,259 694
glhd/laravel-timezone-mapper

Timezone mapper for Laravel

483,638 47
nirajp/timezone

Helps manage timezones in Laravel. Includes <select> form builder for timezones....

22,326 0
zaengle/timezone

Helps manage timezones in Laravel.

3,758 0