Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust time zone America/Sao_Paulo #2355

Closed
garbinmarcelo opened this issue Nov 6, 2019 · 3 comments
Closed

Adjust time zone America/Sao_Paulo #2355

garbinmarcelo opened this issue Nov 6, 2019 · 3 comments
Labels

Comments

@garbinmarcelo
Copy link
Contributor

garbinmarcelo commented Nov 6, 2019

Hello,

I would like to know how best to adjust the time zone for the region of São Paulo/Brazil.
image

Until last year we had a time zone, which is an hour ahead, but by a presidential decree this is no longer valid.

Setting the timezone: America/Sao_Paulo, the time is getting ahead.

How to adjust this in Laradock?

Thanks

P.S.: You may need to update this PHP package: http://pecl.php.net/package/timezonedb

@garbinmarcelo
Copy link
Contributor Author

How I resolved:

In the append file:

php-fpm/Dockerfile

###########################################################################
# Update Timezone
###########################################################################
RUN pecl install timezonedb

php-fpm/laravel.ini

date.timezone=America/Sao_Paulo
extension=timezonedb.so

The result is this: Timezonedb("Olson" Timezone Database Version) has been updated and the information is now correct.

image

image

@garbinmarcelo garbinmarcelo mentioned this issue Nov 6, 2019
3 tasks
@stale
Copy link

stale bot commented Feb 7, 2020

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Feb 7, 2020
@stale
Copy link

stale bot commented Feb 28, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant