# 如何在 Jalali（非 Gregorian）中显示所有日期和时间

**URL:** <https://meta.discourse.org/t/how-to-display-all-dates-and-times-in-jalali-not-gregorian/341098>\
**Category:** Support\
**Created:** [2024年十二月7日 12:28 UTC](https://meta.discourse.org/t/how-to-display-all-dates-and-times-in-jalali-not-gregorian/341098 "2024-12-07T12:28:08Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2024年十二月9日 15:13 UTC](https://meta.discourse.org/t/how-to-display-all-dates-and-times-in-jalali-not-gregorian/341098/16 "2024-12-09T15:13:13Z")

</div>

这里有一些相关信息：

> [@How to properly display jalali dates for Persian language](https://meta.discourse.org/t/how-to-properly-display-jalali-dates-for-persian-language/62157/20?u=moin):
>
> It looks like there are moment.js plugins for Hijri and Jalali calenders: [Moment.js | Docs](https://momentjs.com/docs/#/plugins/jalaali/) To see how easy it’s to use, I cloned the Hijri plugin into vendor folder and changed the dates formats in client.ar.yml according to the plugin documentation and I got it to display Hijri dates in a few places: (July 2017 is in 1438 Hijri year) I’m guessing it didn’t display Hijri dates in all places because those were using different core methods for displaying dates and might need to be twe…

---

_[View the full topic](https://meta.discourse.org/t/how-to-display-all-dates-and-times-in-jalali-not-gregorian/341098)._
