--emulate-timezone
- CLI
- --emulate-timezone
- REST
- emulate_timezone
Sets the time zone Date and Intl report. The ID must exist in the host’s tz database; an unknown ID will cause a failure.
Example
zshot -f page.png \
--emulate-timezone Asia/Tokyo \
https://zshot-cli.com/example_assets/hello_zshot/{
"url": "https://zshot-cli.com/example_assets/hello_zshot/",
"output_type": "png",
"emulate_timezone": "Asia/Tokyo"
}curl -X POST http://127.0.0.1:3000/ \
-H "Content-Type: application/json" \
-d '{"url":"https://zshot-cli.com/example_assets/hello_zshot/","output_type":"png","emulate_timezone":"Asia/Tokyo"}' \
-o page.png