Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save juniorb2ss/44244114f6fe6e6ab1bb2b2ad69c3fdf to your computer and use it in GitHub Desktop.
Save juniorb2ss/44244114f6fe6e6ab1bb2b2ad69c3fdf to your computer and use it in GitHub Desktop.
Set timezone in ElasticBeanstalk
commands:
set_time_zone:
command: ln -f -s /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime
Files:
"/etc/php.d/sp-timezone.ini" :
mode: "000644"
owner: root
group: root
content: |
date.timezone = America/Sao_Paulo
@lawrencegrey
Copy link

is this a linux or window environment? How can i do it for windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment