Etar-Group / Etar-Calendar

Android open source calendar
https://f-droid.org/packages/ws.xsoh.etar/
GNU General Public License v3.0
2.03k stars 392 forks source link

Other calendars types? #6

Open ebraminio opened 9 years ago

ebraminio commented 9 years ago

Is there any plan to add other calendar types, like Hijri? If so, I think you can consider using a stripped down version of ICU4j library for the conversion calendar types like Hijri and Persian could be easily integrated.

xsoh commented 9 years ago

This is one of the most important features because there is no full featured calendar application support other calendars. However, supporting lunar calendars such as Hijri has some challenges because the event it self can't support that.

Thanks

steve98052 commented 5 years ago

One way to add this would be to generate an ICAL file for the other calendar type, with the full name of the alternate calendar date (for example, "1440 Rajab 9, yawm as-sabt") as the name of the full-day event for every day. This would even work for calendars that do not align with regular calendar dates, such Julian Day numbers, which begin at noon GMT. Something like Ramadan fasting hours, from local sunrise to local sunset, would be more complicated because local sunrise and sunset depend on longitude, latitude, and sometimes local exceptions for extreme latitudes during midnight Sun.

ghost commented 3 years ago

Currently the minimum supported Android API is 21 so this would bump the minimum by a few versions, but Android's Calendar SDK has support for various other calendars, such as Islamic Calendar and Hebrew Calendar amongst others, starting from Android API version 24.

sosasees commented 1 year ago

please add ISO weekday calendar

cdowen commented 1 year ago

It's 2023 now. Android 6.0(api 23) contribute less than 2% market share(source). Would you consider bumping the minimum required version to 24? Thanks!

sosasees commented 1 year ago

@cdowen yes, please.

if we worry that android 5 can't run etar, it can always run the last version from before the api level bump. this would be no problem, because etar version 1.0.36 has been bug-free※ on my android 11 phone for as long as i was using it since october 2022

※except for a small visual glitch in the widget when changing between light mode and dark mode, which would never be seen on android 5 because it has no dark mode switch

jmilo97 commented 1 year ago

Beside Hijri, people of the world also need other alternate calendars like Jalali (Persian calendar), Chinese, etc.