{"id":959263,"date":"2024-12-27T03:39:08","date_gmt":"2024-12-26T19:39:08","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/959263.html"},"modified":"2024-12-27T03:39:10","modified_gmt":"2024-12-26T19:39:10","slug":"python%e5%a6%82%e4%bd%95%e8%bd%ac%e6%8d%a2%e6%97%b6%e9%97%b4%e6%a0%bc%e5%bc%8f","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/959263.html","title":{"rendered":"python\u5982\u4f55\u8f6c\u6362\u65f6\u95f4\u683c\u5f0f"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25102126\/e49d5142-59d6-4d04-988d-3c02d057c600.webp\" alt=\"python\u5982\u4f55\u8f6c\u6362\u65f6\u95f4\u683c\u5f0f\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\uff0c\u8f6c\u6362\u65f6\u95f4\u683c\u5f0f\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u3001<code>strftime<\/code>\u4e0e<code>strptime<\/code>\u65b9\u6cd5\u3001\u683c\u5f0f\u5316\u5b57\u7b26\u4e32\u7b49\u65b9\u5f0f\u5b9e\u73b0\u3002\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u7684<code>strftime<\/code>\u65b9\u6cd5\u5c06\u65e5\u671f\u65f6\u95f4\u5bf9\u8c61\u8f6c\u6362\u4e3a\u5b57\u7b26\u4e32\u683c\u5f0f\uff0c<code>strptime<\/code>\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u89e3\u6790\u4e3a\u65e5\u671f\u65f6\u95f4\u5bf9\u8c61\u3002<\/strong> \u4e0b\u9762\u5c06\u8be6\u7ec6\u4ecb\u7ecd\u5982\u4f55\u4f7f\u7528\u8fd9\u4e9b\u65b9\u6cd5\u8fdb\u884c\u65f6\u95f4\u683c\u5f0f\u8f6c\u6362\u3002<\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u8fdb\u884c\u65f6\u95f4\u683c\u5f0f\u8f6c\u6362<\/p>\n<\/p>\n<p><p><code>datetime<\/code>\u6a21\u5757\u662fPython\u4e2d\u5904\u7406\u65e5\u671f\u548c\u65f6\u95f4\u7684\u6807\u51c6\u5e93\uff0c\u63d0\u4f9b\u4e86\u591a\u79cd\u65b9\u6cd5\u7528\u4e8e\u65e5\u671f\u65f6\u95f4\u7684\u64cd\u4f5c\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u4f7f\u7528<code>datetime.datetime<\/code>\u5bf9\u8c61<\/strong><\/p>\n<\/p>\n<p><p><code>datetime<\/code>\u5bf9\u8c61\u662f\u65e5\u671f\u548c\u65f6\u95f4\u7684\u7ec4\u5408\u3002\u53ef\u4ee5\u4f7f\u7528<code>strftime<\/code>\u65b9\u6cd5\u5c06\u5176\u8f6c\u6362\u4e3a\u4e0d\u540c\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from datetime import datetime<\/p>\n<h2><strong>\u5f53\u524d\u65e5\u671f\u65f6\u95f4<\/strong><\/h2>\n<p>now = datetime.now()<\/p>\n<h2><strong>\u8f6c\u6362\u4e3a\u6307\u5b9a\u683c\u5f0f\u7684\u5b57\u7b26\u4e32<\/strong><\/h2>\n<p>formatted_time = now.strftime(&quot;%Y-%m-%d %H:%M:%S&quot;)<\/p>\n<p>print(&quot;Formatted DateTime:&quot;, formatted_time)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u4e0a\u9762\u7684\u4f8b\u5b50\u4e2d\uff0c<code>%Y<\/code>\u3001<code>%m<\/code>\u3001<code>%d<\/code>\u7b49\u662f\u683c\u5f0f\u5316\u4ee3\u7801\uff0c\u5206\u522b\u4ee3\u8868\u5e74\u4efd\u3001\u6708\u4efd\u548c\u65e5\u671f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4f7f\u7528<code>datetime.date<\/code>\u5bf9\u8c61<\/strong><\/p>\n<\/p>\n<p><p><code>date<\/code>\u5bf9\u8c61\u4ec5\u8868\u793a\u65e5\u671f\uff0c\u4e0d\u5305\u542b\u65f6\u95f4\u4fe1\u606f\u3002\u901a\u8fc7<code>strftime<\/code>\u65b9\u6cd5\u53ef\u4ee5\u683c\u5f0f\u5316\u65e5\u671f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from datetime import date<\/p>\n<h2><strong>\u5f53\u524d\u65e5\u671f<\/strong><\/h2>\n<p>today = date.today()<\/p>\n<h2><strong>\u8f6c\u6362\u4e3a\u6307\u5b9a\u683c\u5f0f\u7684\u5b57\u7b26\u4e32<\/strong><\/h2>\n<p>formatted_date = today.strftime(&quot;%B %d, %Y&quot;)<\/p>\n<p>print(&quot;Formatted Date:&quot;, formatted_date)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6b64\u4f8b\u4e2d\uff0c<code>%B<\/code>\u8868\u793a\u6708\u4efd\u7684\u5b8c\u6574\u540d\u79f0\uff0c<code>%d<\/code>\u662f\u4e24\u4f4d\u6570\u7684\u65e5\u671f\uff0c<code>%Y<\/code>\u662f\u56db\u4f4d\u6570\u7684\u5e74\u4efd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e8c\u3001\u89e3\u6790\u5b57\u7b26\u4e32\u4e3a\u65e5\u671f\u65f6\u95f4\u5bf9\u8c61<\/p>\n<\/p>\n<p><p>\u4f7f\u7528<code>strptime<\/code>\u65b9\u6cd5\u53ef\u4ee5\u5c06\u5b57\u7b26\u4e32\u89e3\u6790\u4e3a<code>datetime<\/code>\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u89e3\u6790\u65e5\u671f\u65f6\u95f4\u5b57\u7b26\u4e32<\/strong><\/p>\n<\/p>\n<p><p><code>strptime<\/code>\u65b9\u6cd5\u6839\u636e\u6307\u5b9a\u7684\u683c\u5f0f\u89e3\u6790\u5b57\u7b26\u4e32\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from datetime import datetime<\/p>\n<p>date_string = &quot;2023-10-25 14:30:00&quot;<\/p>\n<h2><strong>\u89e3\u6790\u4e3adatetime\u5bf9\u8c61<\/strong><\/h2>\n<p>parsed_datetime = datetime.strptime(date_string, &quot;%Y-%m-%d %H:%M:%S&quot;)<\/p>\n<p>print(&quot;Parsed DateTime:&quot;, parsed_datetime)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c\u5b57\u7b26\u4e32<code>date_string<\/code>\u88ab\u89e3\u6790\u4e3a<code>datetime<\/code>\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u89e3\u6790\u4ec5\u5305\u542b\u65e5\u671f\u7684\u5b57\u7b26\u4e32<\/strong><\/p>\n<\/p>\n<p><p>\u540c\u6837\u5730\uff0c\u53ef\u4ee5\u89e3\u6790\u4ec5\u5305\u542b\u65e5\u671f\u7684\u5b57\u7b26\u4e32\u4e3a<code>date<\/code>\u5bf9\u8c61\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from datetime import datetime<\/p>\n<p>date_string = &quot;October 25, 2023&quot;<\/p>\n<h2><strong>\u89e3\u6790\u4e3adate\u5bf9\u8c61<\/strong><\/h2>\n<p>parsed_date = datetime.strptime(date_string, &quot;%B %d, %Y&quot;).date()<\/p>\n<p>print(&quot;Parsed Date:&quot;, parsed_date)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u6ce8\u610f\u683c\u5f0f\u4ee3\u7801\u7684\u4f7f\u7528\uff1a<\/strong> <code>%B<\/code>\u5339\u914d\u6708\u4efd\u540d\u79f0\uff0c<code>%d<\/code>\u5339\u914d\u65e5\u671f\uff0c<code>%Y<\/code>\u5339\u914d\u5e74\u4efd\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u4e09\u3001\u65f6\u95f4\u683c\u5f0f\u8f6c\u6362\u7684\u5b9e\u9645\u5e94\u7528<\/p>\n<\/p>\n<p><p>\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u65f6\u95f4\u683c\u5f0f\u8f6c\u6362\u53ef\u80fd\u6d89\u53ca\u5230\u591a\u4e2a\u573a\u666f\uff0c\u6bd4\u5982\u6570\u636e\u8bb0\u5f55\u3001\u65e5\u5fd7\u5206\u6790\u3001\u7528\u6237\u754c\u9762\u663e\u793a\u7b49\u3002<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5904\u7406\u4e0d\u540c\u683c\u5f0f\u7684\u8f93\u5165<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u5904\u7406\u7528\u6237\u8f93\u5165\u65f6\uff0c\u53ef\u80fd\u9700\u8981\u652f\u6301\u591a\u79cd\u65e5\u671f\u65f6\u95f4\u683c\u5f0f\u3002\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u53ef\u4ee5\u4f7f\u7528\u4e00\u4e2a\u51fd\u6570\u6765\u89e3\u6790\u4e0d\u540c\u7684\u683c\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from datetime import datetime<\/p>\n<p>def parse_date(date_string):<\/p>\n<p>    for fmt in (&quot;%Y-%m-%d&quot;, &quot;%B %d, %Y&quot;, &quot;%m\/%d\/%Y&quot;):<\/p>\n<p>        try:<\/p>\n<p>            return datetime.strptime(date_string, fmt)<\/p>\n<p>        except ValueError:<\/p>\n<p>            continue<\/p>\n<p>    r<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>se ValueError(&quot;No valid date format found&quot;)<\/p>\n<p>print(parse_date(&quot;2023-10-25&quot;))<\/p>\n<p>print(parse_date(&quot;October 25, 2023&quot;))<\/p>\n<p>print(parse_date(&quot;10\/25\/2023&quot;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u4e2a\u51fd\u6570\u5c1d\u8bd5\u4f7f\u7528\u591a\u79cd\u683c\u5f0f\u89e3\u6790\u8f93\u5165\u5b57\u7b26\u4e32\uff0c\u5982\u679c\u6240\u6709\u683c\u5f0f\u90fd\u4e0d\u5339\u914d\uff0c\u5219\u629b\u51fa\u5f02\u5e38\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u683c\u5f0f\u5316\u8f93\u51fa<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u751f\u6210\u62a5\u544a\u6216\u663e\u793a\u7ed9\u7528\u6237\u65f6\uff0c\u683c\u5f0f\u5316\u8f93\u51fa\u662f\u975e\u5e38\u91cd\u8981\u7684\u3002\u901a\u8fc7<code>strftime<\/code>\u65b9\u6cd5\u53ef\u4ee5\u786e\u4fdd\u65e5\u671f\u65f6\u95f4\u4ee5\u7edf\u4e00\u7684\u683c\u5f0f\u8f93\u51fa\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from datetime import datetime<\/p>\n<p>def format_for_report(date_obj):<\/p>\n<p>    return date_obj.strftime(&quot;%A, %d %B %Y&quot;)<\/p>\n<p>now = datetime.now()<\/p>\n<p>print(&quot;Report Date:&quot;, format_for_report(now))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u8fd9\u6bb5\u4ee3\u7801\u751f\u6210\u4e86\u4e00\u4e2a\u683c\u5f0f\u5316\u7684\u65e5\u671f\u5b57\u7b26\u4e32\uff0c\u9002\u5408\u7528\u4e8e\u62a5\u544a\u4e2d\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u56db\u3001\u6ce8\u610f\u4e8b\u9879\u548c\u6700\u4f73\u5b9e\u8df5<\/p>\n<\/p>\n<p><p>\u5728\u8fdb\u884c\u65f6\u95f4\u683c\u5f0f\u8f6c\u6362\u65f6\uff0c\u6709\u4e00\u4e9b\u6ce8\u610f\u4e8b\u9879\u548c\u6700\u4f73\u5b9e\u8df5\uff1a<\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u65f6\u533a\u5904\u7406<\/strong><\/p>\n<\/p>\n<p><p><code>datetime<\/code>\u6a21\u5757\u7684<code>datetime<\/code>\u5bf9\u8c61\u9ed8\u8ba4\u4e0d\u5305\u542b\u65f6\u533a\u4fe1\u606f\u3002\u5982\u679c\u9700\u8981\u5904\u7406\u8de8\u65f6\u533a\u7684\u65f6\u95f4\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pytz<\/code>\u6a21\u5757\u4e3a<code>datetime<\/code>\u5bf9\u8c61\u6dfb\u52a0\u65f6\u533a\u4fe1\u606f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from datetime import datetime<\/p>\n<p>import pytz<\/p>\n<p>utc_time = datetime.now(pytz.utc)<\/p>\n<p>local_time = utc_time.astimezone(pytz.timezone(&#39;Asia\/Shanghai&#39;))<\/p>\n<p>print(&quot;Local Time:&quot;, local_time.strftime(&quot;%Y-%m-%d %H:%M:%S %Z%z&quot;))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u6bb5\u4ee3\u7801\u4e2d\uff0c<code>pytz<\/code>\u6a21\u5757\u7528\u4e8e\u83b7\u53d6\u65f6\u533a\u4fe1\u606f\uff0c\u5e76\u5c06UTC\u65f6\u95f4\u8f6c\u6362\u4e3a\u672c\u5730\u65f6\u95f4\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u907f\u514d\u786c\u7f16\u7801\u683c\u5f0f<\/strong><\/p>\n<\/p>\n<p><p>\u5c3d\u91cf\u907f\u514d\u5728\u4ee3\u7801\u4e2d\u786c\u7f16\u7801\u65e5\u671f\u65f6\u95f4\u683c\u5f0f\uff0c\u5c24\u5176\u662f\u5728\u5904\u7406\u56fd\u9645\u5316\u5e94\u7528\u65f6\u3002\u53ef\u4ee5\u8003\u8651\u4f7f\u7528\u914d\u7f6e\u6587\u4ef6\u6216\u73af\u5883\u53d8\u91cf\u6765\u6307\u5b9a\u683c\u5f0f\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u9519\u8bef\u5904\u7406<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u89e3\u6790\u65f6\u95f4\u5b57\u7b26\u4e32\u65f6\uff0c\u59cb\u7ec8\u8981\u5904\u7406\u53ef\u80fd\u7684\u89e3\u6790\u9519\u8bef\uff0c\u4ee5\u907f\u514d\u7a0b\u5e8f\u5d29\u6e83\u3002\u53ef\u4ee5\u4f7f\u7528<code>try<\/code>\/<code>except<\/code>\u7ed3\u6784\u6355\u83b7\u5e76\u5904\u7406<code>ValueError<\/code>\u5f02\u5e38\u3002<\/p>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u4fdd\u6301\u4e00\u81f4\u6027<\/strong><\/p>\n<\/p>\n<p><p>\u5728\u540c\u4e00\u4e2a\u9879\u76ee\u4e2d\uff0c\u786e\u4fdd\u6240\u6709\u65e5\u671f\u65f6\u95f4\u7684\u8f93\u5165\u8f93\u51fa\u683c\u5f0f\u4fdd\u6301\u4e00\u81f4\u3002\u8fd9\u6709\u52a9\u4e8e\u51cf\u5c11\u9519\u8bef\u5e76\u63d0\u9ad8\u4ee3\u7801\u7684\u53ef\u7ef4\u62a4\u6027\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><p>\u7efc\u4e0a\u6240\u8ff0\uff0cPython\u63d0\u4f9b\u4e86\u5f3a\u5927\u7684\u5de5\u5177\u6765\u5904\u7406\u65f6\u95f4\u683c\u5f0f\u8f6c\u6362\uff0c\u901a\u8fc7\u5408\u7406\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u548c\u683c\u5f0f\u5316\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5b9e\u73b0\u5404\u79cd\u65e5\u671f\u65f6\u95f4\u7684\u8f6c\u6362\u9700\u6c42\u3002\u901a\u8fc7\u9075\u5faa\u6700\u4f73\u5b9e\u8df5\uff0c\u53ef\u4ee5\u63d0\u9ad8\u4ee3\u7801\u7684\u5065\u58ee\u6027\u548c\u53ef\u8bfb\u6027\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u65e5\u671f\u5bf9\u8c61\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>datetime<\/code>\u6a21\u5757\u4e2d\u7684<code>strptime<\/code>\u65b9\u6cd5\u5c06\u5b57\u7b26\u4e32\u8f6c\u6362\u4e3a\u65e5\u671f\u5bf9\u8c61\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u5bfc\u5165<code>datetime<\/code>\u6a21\u5757\uff0c\u7136\u540e\u4f7f\u7528<code>datetime.strptime(date_string, format)<\/code>\u6765\u6307\u5b9a\u5b57\u7b26\u4e32\u548c\u683c\u5f0f\u3002\u4f8b\u5982\uff0c<code>datetime.strptime(&quot;2023-10-01&quot;, &quot;%Y-%m-%d&quot;)<\/code>\u5c06\u8fd4\u56de\u4e00\u4e2a\u65e5\u671f\u5bf9\u8c61\u3002<\/p>\n<p><strong>\u5982\u4f55\u5c06\u65e5\u671f\u5bf9\u8c61\u683c\u5f0f\u5316\u4e3a\u7279\u5b9a\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\uff1f<\/strong><br \/>\u8981\u5c06\u65e5\u671f\u5bf9\u8c61\u8f6c\u6362\u4e3a\u7279\u5b9a\u7684\u5b57\u7b26\u4e32\u683c\u5f0f\uff0c\u53ef\u4ee5\u4f7f\u7528<code>strftime<\/code>\u65b9\u6cd5\u3002\u8be5\u65b9\u6cd5\u5141\u8bb8\u60a8\u901a\u8fc7\u4f20\u9012\u6240\u9700\u7684\u683c\u5f0f\u5b57\u7b26\u4e32\u6765\u683c\u5f0f\u5316\u65e5\u671f\u5bf9\u8c61\u3002\u4f8b\u5982\uff0c<code>date_object.strftime(&quot;%d\/%m\/%Y&quot;)<\/code>\u5c06\u8fd4\u56de\u4ee5\u201c\u65e5\/\u6708\/\u5e74\u201d\u683c\u5f0f\u7684\u5b57\u7b26\u4e32\u3002<\/p>\n<p><strong>Python\u4e2d\u5982\u4f55\u5904\u7406\u4e0d\u540c\u65f6\u533a\u7684\u65f6\u95f4\u8f6c\u6362\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>pytz<\/code>\u5e93\u6765\u5904\u7406\u65f6\u533a\u8f6c\u6362\u3002\u9996\u5148\uff0c\u60a8\u9700\u8981\u5b89\u88c5<code>pytz<\/code>\u5e93\u3002\u901a\u8fc7\u521b\u5efa\u4e00\u4e2a\u5e26\u6709\u65f6\u533a\u4fe1\u606f\u7684\u65e5\u671f\u5bf9\u8c61\uff0c\u53ef\u4ee5\u4f7f\u7528<code>astimezone<\/code>\u65b9\u6cd5\u8fdb\u884c\u8f6c\u6362\u3002\u4f8b\u5982\uff0c\u60a8\u53ef\u4ee5\u5c06UTC\u65f6\u95f4\u8f6c\u6362\u4e3a\u4e1c\u516b\u533a\u65f6\u95f4\uff0c\u4ee3\u7801\u793a\u4f8b\u4e3a\uff1a<code>utc_time.astimezone(pytz.timezone(&#39;Asia\/Shanghai&#39;))<\/code>\u3002\u8fd9\u6837\u53ef\u4ee5\u786e\u4fdd\u65f6\u95f4\u5728\u4e0d\u540c\u5730\u533a\u7684\u6b63\u786e\u663e\u793a\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\uff0c\u8f6c\u6362\u65f6\u95f4\u683c\u5f0f\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528datetime\u6a21\u5757\u3001strftime\u4e0estrptime\u65b9\u6cd5\u3001\u683c\u5f0f\u5316 [&hellip;]","protected":false},"author":3,"featured_media":959272,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/959263"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=959263"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/959263\/revisions"}],"predecessor-version":[{"id":959273,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/959263\/revisions\/959273"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/959272"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=959263"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=959263"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=959263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}