federicoiosue / Omni-Notes

Open source note-taking application for Android
https://omninotes.app
GNU General Public License v3.0
2.71k stars 1.11k forks source link

other calendars #466

Closed herotux closed 6 years ago

herotux commented 6 years ago

we are live in Iran and need Persian calendar we don't use Gregorian we dont understant it commonly. maybe you can add an option to other calendars like persian jalali cal in Bamdad app that use omni notes developers make it availble maybe you can Inspiration them

https://github.com/soheilnikbin/Bamdad-Persian-Calendar-/tree/master/PersianCalendar/src/main/java/com/omninotes

federicoiosue commented 6 years ago

I'll give a look to the project you reported but this is actually a too much specific implementation to be included into the app's roadmap.

Just for curiosity: other company-made apps like Google Keep how manage this thing?

herotux commented 6 years ago

Companies are looking for profits and do not care for the community as a whole, so they do not pay attention to Persian speakers, which account for a small percentage of the world's population, which is why we only find this opportunity sometimes in free and open source programs.

herotux commented 6 years ago

maybe this links help us:

https://github.com/mfathi91/persian-date-time

https://github.com/samanzamani/PersianDate

https://github.com/mohamad-amin/PersianMaterialDateTimePicker

https://stackoverflow.com/questions/10378764/is-there-any-library-or-algorithm-for-persian-shamsi-or-jalali-calendar-in-and?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

federicoiosue commented 6 years ago

I have a look to your resources but it's hard for me to include this specific development into the roadmap.

I'll add the Help wanted label to the issue to see if someone else (maybe a Persian developer) can put note focus on it.

herotux commented 6 years ago

hi Please see this link: This is a messenger app that support shamsi hijri and gregorian Maybe can help for add other calendar i hope

https://github.com/RooyeKhat-Media/iGap-Android/search?q=shamsi&type=Code

soheilnikbin commented 6 years ago

There is a specific algorithm to convert Gregorian to Persian calendar so in this case you have to read phone calendar and convert based on that, keep in your mind, in some android phones Calendar.WEEK_OF_MONTH start from 0 and some of them from 1.