Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Additional Calendar Systems for Birthdays #7343

Open
ChaiByte opened this issue Jun 18, 2024 · 1 comment
Open

Request for Additional Calendar Systems for Birthdays #7343

ChaiByte opened this issue Jun 18, 2024 · 1 comment

Comments

@ChaiByte
Copy link

I am a user of your product and I am writing to inquire about the possibility of incorporating additional calendar systems for displaying birthdays.

Currently, it appears that the Gregorian calendar is the default system used for this purpose. While this is widely recognized and used, there are other calendar systems that are equally significant in different cultures and regions. For instance, in China, both the Gregorian (solar) calendar and the traditional Chinese lunar calendar are used. Birthdays can be celebrated based on either of these calendars, and sometimes both.

Similarly, in many Islamic countries, the Hijri (Islamic lunar) calendar is used alongside the Gregorian calendar. In Israel, the Hebrew (Jewish lunar) calendar is used for religious observances, including birthdays. In Iran and Afghanistan, the Solar Hijri calendar is used.

The ability to choose a calendar system for displaying birthdays would be a valuable feature for many users, as it would allow for a more accurate and culturally sensitive representation of important dates.

Could you please let me know if there are any plans to incorporate this feature in the future? Or, if there are any workarounds that could help achieve this in the current version?

Thank you for your time and consideration. I look forward to hearing from you.

@ChaiByte
Copy link
Author

A forked implement:

https://github.com/naiba-archived/monica-fork/blob/ff9690970d7b814d0752241b5949b983b4e44e65/resources/views/people/reminders/form.blade.php#L60

    {{-- Calendar Type --}}
    <div class="form-group">
        <label for="initial_date">{{ trans('people.reminders_calendar_type') }}</label>
        <label class="form-check-label">
            <select name="calendar_type">
                @if ($reminder->calendar_type == 'solar')
                <option value="solar" selected>{{ trans('people.reminders_calendar_solar') }}</option>
                <option value="lunar">{{ trans('people.reminders_calendar_lunar') }}</option>
                @else
                <option value="solar">{{ trans('people.reminders_calendar_solar') }}</option>
                <option value="lunar" selected>{{ trans('people.reminders_calendar_lunar') }}</option>
                @endif
            </select>
        </label>
    </div>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant