quasarframework / quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time
https://quasar.dev
MIT License
25.99k stars 3.53k forks source link

Localized digits in QDate #12735

Open Skhonsari opened 2 years ago

Skhonsari commented 2 years ago

What happened?

im creating an app that has QDate with persian calendar but all day numbers are using english digits and there is no way to use localized digits for day numbers.

What did you expect to happen?

somehow be able to use localized digits.

Reproduction URL

https://codepen.io/rstoenescu/pen/MWKpbNa

How to reproduce?

  1. Go to the provided reproduction link (docs example of persian calendar).
  2. See the problem when all numbers are in english digits.

Flavour

Quasar CLI (@quasar/cli | @quasar/app)

Areas

Components (quasar)

Platforms/Browsers

Chrome, Microsoft Edge

Quasar info output

No response

Relevant log output

No response

Additional context

No response

pbkompasz commented 2 years ago

qdate-farsi @Skhonsari Is this how it should look like for August 28, 2018?

amirmehr-ir commented 2 years ago

Hi, you can use fonts that support persian number's like 'Vazir' or 'Estedad' etc..