{"id":60518,"date":"2025-04-24T08:37:58","date_gmt":"2025-04-24T00:37:58","guid":{"rendered":"https:\/\/fwq.ai\/blog\/60518\/"},"modified":"2025-04-24T08:37:58","modified_gmt":"2025-04-24T00:37:58","slug":"ecshop%e5%ae%89%e8%a3%85we-selected-utc-for-8-0-no-dst-instead-in-2","status":"publish","type":"post","link":"https:\/\/fwq.ai\/blog\/60518\/","title":{"rendered":"ECSHOP\u5b89\u88c5We selected &#8216;UTC&#8217; for &#8216;8.0\/no DST&#8217; instead in"},"content":{"rendered":"<p> ECSHOP\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u51fa\u73b0&nbsp;We selected &#8216;UTC&#8217; for &#8216;8.0\/no DST&#8217; instead in &nbsp;\u9519\u8bef\uff0c<\/p>\n<p> <img decoding=\"async\" src=\"https:\/\/www.ldhost.cn\/helphmb\/uploads\/allimg\/160615\/1H24G249-0.png\" class=\"aligncenter\" title=\"ECSHOP\u5b89\u88c5We selected &#8216;UTC&#8217; for &#8216;8.0\/no DST&#8217; instead in\u63d2\u56fe\" alt=\"ECSHOP\u5b89\u88c5We selected &#8216;UTC&#8217; for &#8216;8.0\/no DST&#8217; instead in\u63d2\u56fe\" \/><\/p>\n<p> &nbsp;<\/p>\n<p> \u89e3\u51b3\u529e\u6cd5\u67092\u79cd\uff1a<\/p>\n<p> 1\u3001\u5728install\/includes\/init.php\u6587\u4ef6\u91cc\u52a0\u5165\u4e00\u53e5<\/p>\n<p> date_default_timezone_set (&#8216;Asia\/Shanghai&#8217;);<\/p>\n<p> \u4f8b\u5982\uff1a<\/p>\n<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">\n<tbody>\n<tr>\n<td>  1   2   3   4   5  <\/td>\n<td>   &lt;?php   date_default_timezone_set&nbsp;(&#8216;Asia\/Shanghai&#8217;);   \/*&nbsp;\u62a5\u544a\u6240\u6709\u9519\u8bef&nbsp;*\/   @ini_set(&#8216;display_errors&#8217;,&nbsp;1);   error_reporting(E_ALL&nbsp;^&nbsp;E_NOTICE);   <\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p> 2\u3001\u4fee\u6539\u670d\u52a1\u5668php.ini<\/p>\n<p> \u627e\u5230<\/p>\n<p> ;date.timezone<\/p>\n<p> \u6539\u6210\uff1a<\/p>\n<p> date.timezone =&#8221;Asia\/Shanghai&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>ECSHOP\u5b89\u88c5\u8fc7\u7a0b\u4e2d\uff0c\u51fa\u73b0&nbsp;We selected &#8216;UTC&#8217; for &#8216;8.0\/no DST&#8217; instead in &nbsp;\u9519\u8bef\uff0c &nbsp; \u89e3\u51b3\u529e\u6cd5\u67092\u79cd\uff1a 1\u3001\u5728install\/includes\/init.php\u6587\u4ef6\u91cc\u52a0\u5165\u4e00\u53e5 date_default_timezone_set (&#8216;Asia\/Shanghai&#8217;); \u4f8b\u5982\uff1a 1 2 3 4 5 &lt;?php date_default_timezone_set&nbsp;(&#8216;Asia\/Shanghai&#8217;); \/*&nbsp;\u62a5\u544a\u6240\u6709\u9519\u8bef&nbsp;*\/ @ini_set(&#8216;display_errors&#8217;,&nbsp;1); error_reporting(E_ALL&nbsp;^&nbsp;E_NOTICE); 2\u3001\u4fee\u6539\u670d\u52a1\u5668php.ini \u627e\u5230 ;date.timezone \u6539\u6210\uff1a date.timezone =&#8221;Asia\/Shanghai&#8221;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[16],"tags":[],"class_list":["post-60518","post","type-post","status-publish","format-standard","hentry","category-16"],"_links":{"self":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60518","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/comments?post=60518"}],"version-history":[{"count":0,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/posts\/60518\/revisions"}],"wp:attachment":[{"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/media?parent=60518"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/categories?post=60518"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fwq.ai\/blog\/wp-json\/wp\/v2\/tags?post=60518"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}