{"id":10021181,"date":"2026-01-09T13:34:38","date_gmt":"2026-01-09T05:34:38","guid":{"rendered":"https:\/\/itmax.cn\/?p=10021181"},"modified":"2026-01-09T13:34:38","modified_gmt":"2026-01-09T05:34:38","slug":"javascript-date-%e8%af%ad%e6%b3%95%e8%a6%81%e8%bf%87%e6%97%b6%e4%ba%86%ef%bc%81%e4%bb%a5%e5%90%8e%e7%94%a8%e8%bf%99%e4%b8%aa%e6%9b%bf%e4%bb%a3%ef%bc%81","status":"publish","type":"post","link":"https:\/\/itmax.cn\/?p=10021181","title":{"rendered":"JavaScript Date \u8bed\u6cd5\u8981\u8fc7\u65f6\u4e86\uff01\u4ee5\u540e\u7528\u8fd9\u4e2a\u66ff\u4ee3\uff01"},"content":{"rendered":"<h2>1. \u524d\u8a00<\/h2>\n<p>\u4f5c\u4e3a\u4e00\u540d\u524d\u7aef\u5f00\u53d1\u5de5\u7a0b\u5e08\uff0c\u4f60\u4e00\u5b9a\u88ab JavaScript \u7684\u65e5\u671f\u5904\u7406\u6298\u78e8\u8fc7\u3002<\/p>\n<p>\u8fd9\u4e0d\u662f\u4f60\u7684\u95ee\u9898\uff0c\u662f JavaScript \u81ea\u5df1\u7684\u95ee\u9898\u2014\u2014\u5b83\u7684 Date \u529f\u80fd\u771f\u7684\u5f88\u7cdf\u7cd5\u3002<\/p>\n<h2>2. Date \u7684\u79bb\u8c31\u884c\u4e3a<\/h2>\n<p>\u8ba9\u6211\u7ed9\u4f60\u4e3e\u51e0\u4e2a\u4f8b\u5b50\uff0c\u4f60\u5c31\u660e\u767d\u6709\u591a\u79bb\u8c31\u4e86\uff1a<\/p>\n<p><strong>\u6708\u4efd\u4ece 0 \u5f00\u59cb\u8ba1\u6570\uff1a<\/strong><\/p>\n<pre><code class=\"javascript\">\/\/ \u4f60\u4ee5\u4e3a\u8fd9\u662f 2026 \u5e74 1 \u6708 1 \u65e5\uff1f\nconsole.log(new Date(2026, 1, 1));\n\/\/ \u7ed3\u679c\uff1a2026 \u5e74 2 \u6708 1 \u65e5\uff01\n\n\/\/ \u56e0\u4e3a\u6708\u4efd\u662f\u4ece 0 \u5f00\u59cb\u6570\u7684\uff1a0=1\u6708\uff0c1=2\u6708...\n\/\/ \u4f46\u5e74\u4efd\u548c\u65e5\u671f\u53c8\u662f\u6b63\u5e38\u8ba1\u6570\u7684<\/code><\/pre>\n<p><strong>\u65e5\u671f\u683c\u5f0f\u6df7\u4e71\u5230\u8ba9\u4eba\u6293\u72c2\uff1a<\/strong><\/p>\n<pre><code class=\"javascript\">\/\/ \u7528\u659c\u6760\u5206\u9694\uff0c\u52a0\u4e0d\u52a0\u524d\u5bfc\u96f6\u90fd\u6ca1\u95ee\u9898\nconsole.log(new Date(&quot;2026\/01\/02&quot;));\n\/\/ Fri Jan 02 2026 00:00:00 GMT+0800 (\u4e2d\u56fd\u6807\u51c6\u65f6\u95f4)\n\n\/\/ \u4f46\u5982\u679c\u7528\u77ed\u6a2a\u7ebf\u5206\u9694\uff0c\u540c\u6837\u7684\u5199\u6cd5\nconsole.log(new Date(&quot;2026-01-02&quot;));\n\/\/ Fri Jan 02 2026 08:00:00 GMT+0800 (\u4e2d\u56fd\u6807\u51c6\u65f6\u95f4)\n\n\/\/ \u65f6\u95f4\u5c45\u7136\u4e0d\u4e00\u6837\u4e86\uff01\n\n\/\/ \u5982\u679c\u7528\u4e1c\u534a\u7403\u6807\u51c6\u65f6\u95f4\uff0c\u66f4\u79bb\u8c31\uff01\u4e00\u4e2a\u662f 1 \u6708 2 \u65e5\uff0c\u4e00\u4e2a\u662f 1 \u6708 1 \u65e5<\/code><\/pre>\n<p><strong>\u4e24\u4f4d\u6570\u5e74\u4efd\u7684\u8ff7\u60d1\u884c\u4e3a\uff1a<\/strong><\/p>\n<pre><code class=\"javascript\">console.log(new Date(&quot;49&quot;)); \/\/ 2049 \u5e74\nconsole.log(new Date(&quot;99&quot;)); \/\/ 1999 \u5e74\nconsole.log(new Date(&quot;100&quot;)); \/\/ \u516c\u5143 100 \u5e74\uff01<\/code><\/pre>\n<p>\u89c4\u5219\u83ab\u540d\u5176\u5999\uff1a33-99 \u4ee3\u8868 1900 \u5e74\u4ee3\uff0c\u4f46 32-49 \u53c8\u4ee3\u8868 2000 \u5e74\u4ee3\uff0c100 \u4ee5\u4e0a\u5c31\u771f\u7684\u662f\u516c\u5143\u90a3\u4e00\u5e74\u4e86\u3002<\/p>\n<p><strong>\u66f4\u81f4\u547d\u7684\u95ee\u9898\u662f \u2014\u2014 \u65e5\u671f\u5c45\u7136\u53ef\u4ee5\u88ab\u201c\u6539\u53d8\u201d\uff01<\/strong><\/p>\n<pre><code class=\"javascript\">const today = new Date();\nconsole.log(today.toDateString()); \/\/ Fri Jan 09 2026\n\n\/\/ \u6211\u60f3\u7b97\u4e00\u4e0b\u660e\u5929\u662f\u51e0\u53f7\nconst addDay = (theDate) =&gt; {\n  theDate.setDate(theDate.getDate() + 1);\n  return theDate;\n};\n\nconsole.log(`\u660e\u5929\u662f ${addDay(today).toLocaleDateString()}\u3002`);\n\/\/ \u660e\u5929\u662f 2026\/1\/10\u3002\n\nconsole.log(`\u4eca\u5929\u662f ${today.toLocaleDateString()}\u3002`);\n\/\/ \u4eca\u5929\u662f 2026\/1\/10\u3002\n\n\/\/ \u7b49\u7b49\uff0c\u4eca\u5929\u600e\u4e48\u4e5f\u53d8\u6210\u660e\u5929\u4e86\uff1f\uff01<\/code><\/pre>\n<p>\u5f53\u7136\u8fd9\u662f\u53ef\u4ee5\u89e3\u91ca\u7684\uff1a<\/p>\n<p>\u56e0\u4e3a <code>today<\/code> \u5c31\u50cf\u4e00\u4e2a\u5730\u5740\uff0c\u6307\u5411\u5185\u5b58\u91cc\u7684\u67d0\u4e2a\u4f4d\u7f6e\u3002\u5f53\u4f60\u628a today \u4f20\u7ed9\u51fd\u6570\u65f6\uff0c\u51fd\u6570\u62ff\u5230\u7684\u4e5f\u662f\u8fd9\u4e2a\u5730\u5740\u3002\u6240\u4ee5\u5f53\u51fd\u6570\u4fee\u6539\u65e5\u671f\u65f6\uff0c\u539f\u6765\u7684 today \u4e5f\u88ab\u6539\u4e86\u3002<\/p>\n<p><strong>\u4f46\u8fd9\u79cd\u8bbe\u8ba1\u8fdd\u53cd\u4e86\u4e00\u4e2a\u57fa\u672c\u5e38\u8bc6\uff1a\u65e5\u671f\u5e94\u8be5\u662f\u56fa\u5b9a\u7684\u3002<\/strong>\u201c2026 \u5e74 1 \u6708 10 \u65e5\u201d\u5c31\u662f\u201c2026 \u5e74 1 \u6708 10 \u65e5\u201d\uff0c\u4e0d\u5e94\u8be5\u56e0\u4e3a\u4f60\u62ff\u5b83\u505a\u4e86\u4e2a\u8ba1\u7b97\uff0c\u5b83\u81ea\u5df1\u5c31\u53d8\u4e86\u3002<\/p>\n<p>\u6240\u4ee5 Date \u771f\u7684\u5f88\u7cdf\u7cd5\u3002\u5b9e\u9645\u4e0a\uff0c\u5b83\u5c31\u662f\u6302\u7f8a\u5934\u5356\u72d7\u8089\uff0c\u5b83\u53eb\u505a Date\uff0c\u8868\u793a\u65e5\u671f\uff0c\u5b9e\u9645\u4e0a\uff0c\u5b83\u662f\u65f6\u95f4\u3002<\/p>\n<p>\u5728\u5185\u90e8\uff0cDate \u662f\u4ee5\u6570\u503c\u5f62\u5f0f\u5b58\u50a8\u7684\uff0c\u8fd9\u5c31\u662f\u6211\u4eec\u719f\u6089\u7684\u4ee5 1000 \u6beb\u79d2\u4e3a\u5355\u4f4d\u7684\u65f6\u95f4\u6233\u3002<\/p>\n<p>\u65f6\u95f4\u5f53\u7136\u5305\u542b\u65e5\u671f\uff0c\u4f60\u53ef\u4ee5\u4ece\u65f6\u95f4\u4e2d\u63a8\u65ad\u51fa\u65e5\u671f\uff0c\u4f46\u8fd9\u591a\u5c11\u6709\u70b9\u6076\u5fc3\u4e86\u3002<\/p>\n<p><strong>Java \u65e9\u5728 1997 \u5e74\u5c31\u5f03\u7528\u4e86\u5176 Date \u7c7b\uff0c\u800c JavaScript \u7684 Date \u7c7b\u4ec5\u4ec5\u5728\u51e0\u5e74\u540e\u5c31\u95ee\u4e16\u4e86\uff1b\u4e0e\u6b64\u540c\u65f6\uff0c\u6211\u4eec\u5374\u4e00\u76f4\u88ab\u8fd9\u4e2a\u70c2\u644a\u5b50\u56f0\u6270\u7740\u3002<\/strong><\/p>\n<p>\u6b63\u5982\u4f60\u76ee\u524d\u6240\u89c1\uff0c\u5b83\u5728\u89e3\u6790\u65e5\u671f\u65b9\u9762\u6781\u5176\u4e0d\u7a33\u5b9a\u3002\u5b83\u9664\u4e86\u672c\u5730\u65f6\u95f4\u548c\u683c\u6797\u5a01\u6cbb\u6807\u51c6\u65f6\u95f4 (GMT) \u4e4b\u5916\uff0c\u5bf9\u5176\u4ed6\u65f6\u533a\u4e00\u65e0\u6240\u77e5\u3002\u800c\u4e14\uff0cDate \u7c7b\u53ea\u652f\u6301\u516c\u5386\u3002\u5b83\u5b8c\u5168\u4e0d\u7406\u89e3\u590f\u4ee4\u65f6\u7684\u6982\u5ff5\u3002\u5f53\u7136\u6700\u7cdf\u7cd5\u7684\u8fd8\u662f\u5b83\u7684\u53ef\u53d8\u7684\uff0c\u8fd9\u76f4\u63a5\u8ba9\u4ed6\u504f\u79bb\u4e86\u65f6\u95f4\u7684\u672c\u8d28\u3002<\/p>\n<p>\u6240\u6709\u8fd9\u4e9b\u7f3a\u9677\u4f7f\u5f97\u4f7f\u7528\u7b2c\u4e09\u65b9\u5e93\u6765\u89e3\u51b3\u8fd9\u4e9b\u95ee\u9898\u53d8\u5f97\u5f02\u5e38\u666e\u904d\uff0c\u5176\u4e2d\u4e00\u4e9b\u5e93\u4f53\u79ef\u5e9e\u5927\uff0c\u8fd9\u79cd\u6027\u80fd\u635f\u8017\u5df2\u7ecf\u5bf9\u7f51\u7edc\u9020\u6210\u4e86\u5207\u5b9e\u53ef\u8861\u91cf\u7684\u635f\u5bb3\u3002<\/p>\n<h2>3. Temporal \u624d\u662f\u672a\u6765<\/h2>\n<p>\u5e78\u8fd0\u7684\u662f\uff0cDate \u5373\u5c06\u5f7b\u5e95\u9000\u51fa\u5386\u53f2\u821e\u53f0\u3002<\/p>\n<p>\u5f53\u7136\u8fd9\u6837\u8bf4\uff0c\u8fd8\u662f\u6709\u70b9\u5938\u5f20\u4e86\u3002<\/p>\n<p>\u5b9e\u9645\u4e0a\u662f\u5b83\u4f1a\u4e00\u76f4\u5b58\u5728\uff0c\u4f46\u5982\u679c\u53ef\u4ee5\u907f\u514d\uff0c\u4f60\u6700\u597d\u4e0d\u8981\u518d\u7528\u5b83\u4e86\u3002<\/p>\n<p>\u56e0\u4e3a\u6211\u4eec\u4f1a\u6709\u4e00\u4e2a\u5b8c\u5168\u53d6\u4ee3 Date \u7684\u5bf9\u8c61 \u2014\u2014 Temporal\u3002<\/p>\n<p>\u90e8\u5206\u540c\u5b66\u53ef\u80fd\u5bf9 Temporal \u8fd9\u4e2a\u5355\u8bcd\u4e0d\u592a\u719f\u6089\uff0c\u5b9e\u9645\u4e0a\uff0c\u5b83\u7684\u610f\u601d\u5c31\u662f\u201c\u65f6\u95f4\u201d\uff0c\u4f60\u53ef\u4ee5\u7406\u89e3\u4e3a\u5b83\u662f\u4e00\u4e2a\u66f4\u4e13\u4e1a\u7684\u8bcd\u6c47\uff1a<\/p>\n<p>&lt;!&#8211; \u8fd9\u662f\u4e00\u5f20\u56fe\u7247\uff0cocr \u5185\u5bb9\u4e3a\uff1a\u8fd9\u4e9b\u6570\u636e\u8981\u6c42\u5fc5\u987b\u8003\u8651\u5230\u7a7a\u95f4\u548c\u65f6\u95f4\u7279\u6027. THE DATA REQUIREMENTS MUST TAKE INTO CONSIDERATION BOTH SPATIAL AND TEMPORAL CHARACTERISTICS. &#8211;&gt;<\/p>\n<p><img decoding=\"async\"   referrerpolicy=\"no-referrer\" src=\"https:\/\/segmentfault.com\/img\/remote\/1460000047532054\" alt=\"\" title=\"\"><\/p>\n<p>\u4e0e Date \u4e0d\u540c\uff0cTemporal \u4e0d\u662f\u6784\u9020\u51fd\u6570\uff0c\u5b83\u662f\u4e00\u4e2a\u547d\u540d\u7a7a\u95f4\u5bf9\u8c61\u2014\u2014\u4e00\u4e2a\u7531\u9759\u6001\u5c5e\u6027\u548c\u65b9\u6cd5\u7ec4\u6210\u7684\u666e\u901a\u5bf9\u8c61\uff0c\u5c31\u50cf Math \u5bf9\u8c61\u4e00\u6837\uff1a<\/p>\n<pre><code class=\"javascript\">console.log(Temporal);\n\/* Result (expanded):\nTemporal { \u2026 }\n  Duration: function Duration()\n  Instant: function Instant()\n  Now: Temporal.Now { \u2026 }\n  PlainDate: function PlainDate()\n  PlainDateTime: function PlainDateTime()\n  PlainMonthDay: function PlainMonthDay()\n  PlainTime: function PlainTime()\n  PlainYearMonth: function PlainYearMonth()\n  ZonedDateTime: function ZonedDateTime()\n  Symbol(Symbol.toStringTag): &quot;Temporal&quot;\n*\/<\/code><\/pre>\n<p>Temporal \u5305\u542b\u7684\u7c7b\u548c\u547d\u540d\u7a7a\u95f4\u5bf9\u8c61\u5141\u8bb8\u4f60\u8ba1\u7b97\u4e24\u4e2a\u65f6\u95f4\u70b9\u4e4b\u95f4\u7684\u6301\u7eed\u65f6\u95f4\u3001\u8868\u793a\u4e00\u4e2a\u65f6\u95f4\u70b9\uff08\u65e0\u8bba\u662f\u5426\u5177\u6709\u65f6\u533a\u4fe1\u606f\uff09\u3001\u901a\u8fc7 Now \u5c5e\u6027\u8bbf\u95ee\u5f53\u524d\u65f6\u95f4\u70b9\u7b49\u3002<\/p>\n<p>\u5982\u679c\u6211\u4eec\u8981\u83b7\u53d6\u5f53\u524d\u65f6\u95f4\uff1a<\/p>\n<pre><code class=\"javascript\">console.log(Temporal.Now.plainDateISO());\n\/* Result (expanded):\nTemporal.PlainDate 2025-12-31\n  &lt;prototype&gt;: Object { \u2026 }\n*\/<\/code><\/pre>\n<p>\u8be5\u65b9\u6cd5\u8fd4\u56de\u7684\u662f\u5f53\u524d\u65f6\u533a\u7684\u4eca\u5929\u65e5\u671f\u3002<\/p>\n<p>Temporal \u8fd8\u80fd\u652f\u6301\u65f6\u533a\uff1a<\/p>\n<pre><code class=\"javascript\">const date = Temporal.Now.plainDateISO();\n\n\/\/ \u6307\u5b9a\u8fd9\u4e2a\u65e5\u671f\u5728\u4f26\u6566\u65f6\u533a\nconsole.log(date.toZonedDateTime(&quot;Europe\/London&quot;));<\/code><\/pre>\n<p>Temporal \u8fd8\u53ef\u4ee5\u8ba1\u7b97\u65e5\u671f\u5dee\uff1a<\/p>\n<pre><code class=\"javascript\">const today = Temporal.Now.plainDateISO();\nconst jsShipped = Temporal.PlainDate.from(&quot;1995-12-04&quot;); \/\/ JavaScript \u53d1\u5e03\u65e5\u671f\nconst difference = today.since(jsShipped, { largestUnit: &quot;year&quot; });\n\nconsole.log(`JavaScript \u5df2\u7ecf\u5b58\u5728\u4e86 ${difference.years} \u5e74 ${difference.months} \u4e2a\u6708\u96f6 ${difference.days} \u5929\u3002`);<\/code><\/pre>\n<p>\u5404\u79cd\u65f6\u95f4\u64cd\u4f5c\u4e5f\u4f1a\u66f4\u52a0\u76f4\u89c2\uff1a<\/p>\n<pre><code class=\"javascript\">const today = Temporal.Now.plainDateISO();\n\n\/\/ \u52a0\u4e00\u5929\nconsole.log(today.add({ days: 1 }));\n\n\/\/ \u52a0\u4e00\u4e2a\u6708\u96f6\u4e00\u5929\uff0c\u518d\u51cf\u4e24\u5e74\u2014\u2014\u53ef\u4ee5\u94fe\u5f0f\u64cd\u4f5c\nconsole.log(today.add({ months: 1, days: 1 }).subtract({ years: 2 }));\n\n\/\/ \u770b\uff0c\u591a\u6e05\u695a\uff01<\/code><\/pre>\n<p>\u5f53\u7136\uff0c\u66f4\u91cd\u8981\u7684\u662f\uff0c\u65e5\u671f\u4e0d\u4f1a\u88ab\u610f\u5916\u4fee\u6539<\/p>\n<pre><code class=\"javascript\">const today = Temporal.Now.plainDateISO();\n\n\/\/ \u8ba1\u7b97\u660e\u5929\u7684\u65e5\u671f\nconst tomorrow = today.add({ days: 1 });\n\nconsole.log(`\u4eca\u5929\u662f ${today}\u3002`); \/\/ 2025-12-31\nconsole.log(`\u660e\u5929\u662f ${tomorrow}\u3002`); \/\/ 2026-01-01\n\n\/\/ \u4eca\u5929\u8fd8\u662f\u4eca\u5929\uff0c\u5b8c\u7f8e\uff01<\/code><\/pre>\n<p><code>add<\/code> \u65b9\u6cd5\u4f1a\u8fd4\u56de\u4e00\u4e2a\u65b0\u7684\u65e5\u671f\u5bf9\u8c61\uff0c\u800c\u4e0d\u662f\u4fee\u6539\u539f\u6765\u7684\u3002\u5c31\u50cf\u4f60\u590d\u5370\u4e86\u4e00\u4efd\u65e5\u5386\uff0c\u5728\u590d\u5370\u4ef6\u4e0a\u5199\u5b57\uff0c\u539f\u4ef6\u4e0d\u4f1a\u88ab\u5f04\u810f\u3002<\/p>\n<h2>4. \u4ec0\u4e48\u65f6\u5019\u80fd\u7528\uff1f<\/h2>\n<p>\u597d\u6d88\u606f\uff1a\u6700\u65b0\u7248\u7684 Chrome \u548c Firefox \u5df2\u7ecf\u652f\u6301\u4e86\uff01<\/p>\n<p>\u574f\u6d88\u606f\uff1a\u5b83\u8fd8\u5728\u201c\u5b9e\u9a8c\u9636\u6bb5\u201d\uff0c\u8fd9\u610f\u5473\u7740\u5177\u4f53\u7528\u6cd5\u53ef\u80fd\u8fd8\u4f1a\u5fae\u8c03\uff0c\u4f46\u5927\u65b9\u5411\u5df2\u5b9a\u3002<\/p>\n<p>\u6211\u4eec\u7ec8\u4e8e\u8981\u548c Date \u7684\u5669\u68a6\u8bf4\u518d\u89c1\u4e86\u3002<\/p>\n<p>\u6211\u662f\u51b4\u7fbd\uff0c10 \u5e74\u7b14\u8015\u4e0d\u8f8d\uff0c\u4e13\u6ce8\u524d\u7aef\u9886\u57df\uff0c\u66f4\u65b0\u4e86 10+ \u7cfb\u5217\u3001300+ \u7bc7\u539f\u521b\u6280\u672f\u6587\u7ae0\uff0c\u7ffb\u8bd1\u8fc7 Svelte\u3001Solid.js\u3001TypeScript \u6587\u6863\uff0c\u8457\u6709\u5c0f\u518c\u300aNext.js \u5f00\u53d1\u6307\u5357\u300b\u3001\u300aSvelte \u5f00\u53d1\u6307\u5357\u300b\u3001\u300aAstro \u5b9e\u6218\u6307\u5357\u300b\u3002<\/p>\n<p>\u6b22\u8fce\u56f4\u89c2\u6211\u7684\u201c<a href=\"https:\/\/link.segmentfault.com\/?enc=7kKmbFqRzpa7IIeeuuAsQw%3D%3D.%2FvVmpDU80e7u08B3%2BaT%2FXY13r7Xq0z%2B%2BD7Bnqt1GXqM%3D\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">\u7f51\u9875\u7248\u670b\u53cb\u5708<\/a>\u201d\uff0c\u5173\u6ce8\u6211\u7684\u516c\u4f17\u53f7\uff1a<strong>\u51b4\u7fbd\uff08\u6216\u641c\u7d22 yayujs\uff09<\/strong>\uff0c\u6bcf\u5929\u5206\u4eab\u524d\u7aef\u77e5\u8bc6\u3001AI \u5e72\u8d27\u3002<\/p>\n<p><a href=\"https:\/\/segmentfault.com\/a\/1190000047532052\">https:\/\/segmentfault.com\/a\/1190000047532052<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. \u524d\u8a00 \u4f5c\u4e3a\u4e00\u540d\u524d\u7aef\u5f00\u53d1\u5de5\u7a0b\u5e08\uff0c\u4f60\u4e00\u5b9a\u88ab JavaScript \u7684\u65e5\u671f\u5904\u7406\u6298\u78e8\u8fc7\u3002 \u8fd9\u4e0d\u662f\u4f60\u7684\u95ee\u9898\uff0c\u662f J [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-10021181","post","type-post","status-publish","format-standard","hentry","category-share"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10021181"}],"version-history":[{"count":0,"href":"https:\/\/itmax.cn\/index.php?rest_route=\/wp\/v2\/posts\/10021181\/revisions"}],"wp:attachment":[{"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10021181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10021181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itmax.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10021181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}