# Cómo mostrar correctamente las fechas Jalali en idioma persa

**URL:** https://meta.discourse.org/t/how-to-properly-display-jalali-dates-for-persian-language/62157
**Category:** Translations
**Created:** [5 Mayo, 2017 10:15 UTC](https://meta.discourse.org/t/how-to-properly-display-jalali-dates-for-persian-language/62157 "2017-05-05T10:15:46Z")
**Posts on this page:** 1
**Showing post:** 20

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [17 Julio, 2018 06:33 UTC](https://meta.discourse.org/t/how-to-properly-display-jalali-dates-for-persian-language/62157/20 "2018-07-17T06:33:10Z")

</div>

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:

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/a/ba951d96b0ac0c9ad0770c2a055b9e385323ff0f.jpg)  
(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 tweaked a bit to display Hijri dates correctly.

Overall I think Hijri support should be done in a plugin and in a **new** separate Arabic locale to let people choose between Hijri or Gregorian.

---

_[View the full topic](https://meta.discourse.org/t/how-to-properly-display-jalali-dates-for-persian-language/62157)._
