Last active
August 29, 2015 14:22
-
-
Save tiagobbraga/e8b61f6f3ef54747068f to your computer and use it in GitHub Desktop.
Android - Change timezone simulator
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If you use IntelliJ you can do that from Run/Edit Configurations window. Go to Emulator tab and add this to "Additional command line options": | |
-timezone Europe/Helsinki | |
Android document gives this info: | |
-timezone Set the timezone for the emulated device to , instead of the host's timezone. must be specified in zoneinfo format. For example: "America/Los_Angeles" "Europe/Paris" | |
Zoneinfo format is also known as tz database. So to find you specific timezone, you can use the Wikipedia list here: | |
http://en.wikipedia.org/wiki/List_of_tz_database_time_zone |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment