Open afarsi opened 6 years ago
What's up from this?
Hey there!
This issue will be automatically closed in 7 days if there would be no activity. We therefore assume that the user has lost interest or resolved the problem on their own.
Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.
Thanks!
imho still needed
No updates on this?
No updates on this?
Someone should design and create widgets for this
@afarsi
چنانچه میدانید، نسخهٔ دسکتاپِ آیگرام تقویم جلالی هم دارد و سورس این برنامه هم در گیتهاب هست. آیا نمیشود که از آن برای افزودن تقویم جلالی به تگرامِ دسکتاپ یاری جست؟
Here is a Golang library I wrote, in case it helps someone https://github.com/ilius/libgostarcal/tree/master/cal_types
Iranian calendar codes were added to the latest version of the Qt library:
Iranian calendar codes were added to the latest version of the Qt library:
tdesktop doesn't use QCalendar for its calendar widget: https://github.com/telegramdesktop/tdesktop/blob/dev/Telegram/SourceFiles/ui/boxes/calendar_box.cpp
In many countres, official calendar isn't Geoiregian calendar. For exmple, Arabic countries are using Hijri calendar as official celndar. And in many Asian countiries, people are using chinese or korean calendar. It will be a large project named alternative calendar and implement all of important alternative calenders in telegram. For example, a user in arabic countries should be able to select Hijri calndar as preferd calndar(In telegram settings and it can be detected via system settings). And if he selcted it, he sould be able to see all of dates in Hjri date system, not georgian. For example 1407 Ramadn 05 not 2017 Jan 08. In addition, he should be able to search between two Hijri calendar dates not two georegian calendar dates.
Pay attention: It would be a huge and important benefit for telgram, because currently there is no messenger that supporting aletrnative calendars. Pay attention: Meaning of this bug isn't supporting diffrent date formats. Meaning of it is supporting diffrent calndar systems. In every calendar system, you can write dates in any format. Currently, telegram supporting Georegian calendar system only.
You should support all of these calendars at least: 1-Persian Calendar =Iranian Calendar = Solar Hijri Calendar = Jalali Calendar = Fix bug #1155 2-Arabic Calendar = Lunar Hijri Calendar = Hijri Calendar = Islamic Calendar 3-Chinese Calendar 4-Hebrew Calendar 5-Korean Calendar Note1: You can read about all of these calendars in wikoedia and find covertation algorithms between these georgian dates and dates in these calendars. Note2: Currently, google calendar, windows 10, Mac OS and gmail are supporting alternative calendars(For example, persian calendar) Note3: Maybe icu can help you: http://userguide.icu-project.org/datetime/calendar