# AIでスマートな日付表記を作成

**URL:** https://meta.discourse.org/t/write-out-smarter-dates-with-ai/344986
**Category:** Announcements
**Tags:** ai, ai-helper
**Created:** [2024 年 12 月 31 日午前 3:37 UTC](https://meta.discourse.org/t/write-out-smarter-dates-with-ai/344986 "2024-12-31T03:37:58Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Saif](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saif/32/318253_2.png) [@Saif](https://meta.discourse.org/u/Saif)
#### Post date: [2024 年 12 月 31 日午前 3:37 UTC](https://meta.discourse.org/t/write-out-smarter-dates-with-ai/344986/1 "2024-12-31T03:37:58Z")

</div>

[Helper](https://meta.discourse.org/t/discourse-ai-helper/283943) に、[Smart dates](https://meta.discourse.org/t/helper-smart-dates/344984) という新しい機能が最近リリースされました。これは、時間や日付に関連するあらゆるテキストを、Discourse のタイムゾーンに対応した日付に変換するのに役立ちます。

ぜひ試してみて、ご意見をお聞かせください！

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [2024 年 12 月 31 日午後 12:10 UTC](https://meta.discourse.org/t/write-out-smarter-dates-with-ai/344986/2 "2024-12-31T12:10:48Z")

</div>

![The image shows a text-Based editing of amendments suggested to two dates. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/b/a/c/bacbe32a88e131e19fde2b78ce936dcc4f718e57.png)

「明日」のスペルミスをテストして日付の提案がトリガーされるか確認します（トリガーされませんが、単語は修正します）。また、お祝いの日の名前を使用します。それは誤って2023年に設定されています 🎃

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [2024 年 12 月 31 日午後 12:23 UTC](https://meta.discourse.org/t/write-out-smarter-dates-with-ai/344986/3 "2024-12-31T12:23:47Z")

</div>

![A screenshot showing suggested edits with a proposed date and time for a third reading. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/3/e/3/3e31731d241352944a3bf3a413efbc5d4b186262.png)

\u003e 労働者の日の後、[date=2025-01-07 timezone=“Europe/Paris”]に第3読会を設定します。

一部の祝日や、複数の情報を組み合わせて一意の日付を出力する際に問題があるようです。「〜の後、X日/週/ヶ月」のように日付を表現することは珍しくありません。

* * *

 ![A suggestion for editing the text is to rephrase it to make it more grammatically correct. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/2/5/c/25c371a51b840c040259d8e43b24425e1949ebac.png)

ここにある日付のほとんどは「スマート化」されるべきではなく、実際されていませんでした。「昨年」の編集を提案したかもしれませんが、このメッセージで意図的にAIの提案を混乱させようとしていました。私が意図的に混乱しやすい文章を書いているので、AIの提案を責めることはできません。それにもかかわらず、ここでの出力（提案なし）は良好です。

* * *

 ![The image shows a prompt for suggested edits, asking if someone is available on a specific date and time. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/2/e/3/2e35b98a6613fa0d45f959c395e572d73d2280a5.png)

これは完璧です ✌

---

<div class="post-metadata">

### Author: ![Saif](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saif/32/318253_2.png) [@Saif](https://meta.discourse.org/u/Saif)
#### Post date: [2024 年 12 月 31 日午後 5:22 UTC](https://meta.discourse.org/t/write-out-smarter-dates-with-ai/344986/5 "2024-12-31T17:22:38Z")

</div>

> [@Canapin](#):
>
> これは誤って2023年に設定されています 🎃

やれやれ、時間を巻き戻してしまうことはないでしょう。常に結果を確認するのは良い教訓ですね。

祝日や特定の特別な日付のようなケースでは、時々間違った計算をする可能性があると思います。

---

<div class="post-metadata">

### Author: ![StefanoCecere](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefanocecere/32/158064_2.png) [@StefanoCecere](https://meta.discourse.org/u/StefanoCecere)
#### Post date: [2025 年 2 月 1 日午前 11:33 UTC](https://meta.discourse.org/t/write-out-smarter-dates-with-ai/344986/9 "2025-02-01T11:33:50Z")

</div>

非常に良い機能です。しかし、日付を覚えるのに役立つので、常に曜日の名前も表示したいです。

たとえば、「次の金曜日」は次のように表示されます。2025-02-07T23:00:00Z

しかし、 **金曜日** 2025-02-07T23:00:00Z のように表示したいです。

これを設定することはできますか？  
編集： 「Discourse local dates default formats」を `dddd D MMMM YYYY` で設定したところ、かなりうまく機能しました。

編集： うーん、ローマでは2月8日ではなく7日のはずです。
