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

Support Bikram-Sambat-calendar (Nepal) #849

Open
MenoData opened this issue Dec 20, 2018 · 4 comments
Open

Support Bikram-Sambat-calendar (Nepal) #849

MenoData opened this issue Dec 20, 2018 · 4 comments

Comments

@MenoData
Copy link
Owner

This is the official calendar in Nepal. See also:

A tabular-based solution is possible but only exists with limited data in the gregorian year range 1934-2023. An astronomical solution based on old hindu calendar as published in "Calendrical calculations" (Dershowitz/Reingold) should be evaluated, too.

This solar calendar needs to be distinguished from the lunar calendar called "Nepal Sambat". Latter one is used for the calculation of festivals/holidays.

@MenoData MenoData added this to the M10: South-Asian calendars milestone Dec 21, 2018
@MenoData MenoData changed the title Support Bikram-Sambat-calendar (Vikram-Samvat) Support Bikram-Sambat-calendar (Nepal) Jul 13, 2020
@pragyanone
Copy link

I have always struggled to fully use open source apps (like GnuCash, Debitum) because of this issue. Bikram Sambat calendar is not supported yet by operating softwares (Windows, Android, etc), and it is unnatural for app developers to code a calendar separately.

I have a python script for date conversion from (and to) this system and the ubiquitous Gregorian calendar. (the python script)

And I lack the coding knowledge to contribute to the apps by adding this snippet of code.

@MenoData
Copy link
Owner Author

That seems to be great news to hear. A wider range "adStart, adEnd = "1918-4-13", "2039-4-12" would be nice. May I ask you what source do you get the data mapping from?

Anyway, I will try to find some time to implement the calendar in October or November. Before, I am unfortunately too busy with other things. Thank you for your contribution.

@pragyanone
Copy link

pragyanone commented Aug 20, 2022

My source is https://pujann.com.np/ad-bs-converter.php.

I don't understand this project,Time4j. Is it a module that other developers can import in their apps (like GnuCash) ?

Also do you have any idea how Bikram Sambat calendar is calculated? Please share what you've gathered.

@MenoData
Copy link
Owner Author

Yes, Time4J is a Java library project which can be imported by Java apps (for example using Maven). The sister project Time4A is for Android apps.

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

2 participants