diff options
author | Soroush Rabiei <soroush@ametisco.ir> | 2019-08-08 20:27:18 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2019-08-21 22:18:48 +0200 |
commit | e71bf9d5c7b14fb3e3b7f970440060c5fd9f9059 (patch) | |
tree | ba93b88c43d9f7d015ee3dee5d0a35e9e6870313 /util/locale_database/cldr2qlocalexml.py | |
parent | 3e771a8b09cd5e46c4aff0e8bd28b946dd4e3fa5 (diff) |
Add support for the Jalali (Solar Hijri or Persian) calendar
This has its own locale data, extracted from CLDR.
[ChangeLog][QtCore][QCalendar] Added support for the Jalali (Persian
or Solar Hijri) calendar, controlled by feature jalalicalendar.
Fixes: QTBUG-58404
Change-Id: Id5c56a10db05a4fd612aafc01615273db81ec743
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'util/locale_database/cldr2qlocalexml.py')
-rwxr-xr-x | util/locale_database/cldr2qlocalexml.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/locale_database/cldr2qlocalexml.py b/util/locale_database/cldr2qlocalexml.py index 4bc735976b..b611aa7eb7 100755 --- a/util/locale_database/cldr2qlocalexml.py +++ b/util/locale_database/cldr2qlocalexml.py @@ -64,7 +64,7 @@ from dateconverter import convert_date from localexml import Locale # TODO: make calendars a command-line option -calendars = ['gregorian'] # 'persian', 'islamic', 'hebrew' +calendars = ['gregorian', 'persian'] # 'islamic', 'hebrew' findEntryInFile = xpathlite._findEntryInFile def wrappedwarn(prefix, tokens): return sys.stderr.write( |