我在通过API获取数据时遇到以下错误。在调用中传递了两个参数。 1)序列号(我确信这工作正常) 2)时区 - 这个我无法破解应该给出的格式/值。
<html><head><title>Slim Application Error</title><style>body{margin:0;padding:30px;font:12px/1.5 Helvetica,Arial,Verdana,sans-serif;}h1{margin:0;font-size:48px;font-weight:normal;line-height:48px;}strong{display:inline-block;width:65px;}</style></head><body><h1>Slim Application Error</h1><p>The application could not run because of the following error:</p><h2>Details</h2><div><strong>Type:</strong> ErrorException</div><div><strong>Code:</strong> 2</div><div><strong>Message:</strong> date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.</div><div><strong>File:</strong> /var/www/api/v1/index.php</div><div><strong>Line:</strong> 199</div><h2>Trace</h2><pre>#0 [internal function]: Slim\Slim::handleErrors(2, 'date_default_ti...', '/var/www/api/v1...', 199, Array)
我应该在time_zone中传递什么值以获得200 Ok响应。