jyotisham / jyotisha

Python tools for the astronomical / astrological vedAnga of Hindus
MIT License
88 stars 52 forks source link

fix display times in tex (and elsewhere?) #69

Closed karthikraman closed 3 years ago

karthikraman commented 3 years ago

the interval class does not include jd_midnight; therefore, ending times that are supposed to show as 25:00* end up showing as 01:00, which is incorrect.

For example: 20-June-2020, dakShiNAyana-puNyakAlaH is from 15:13>03:13, instead of 15:13>27:13*

vvasuki commented 3 years ago

Check out to_hour_md in jyotisha/panchaanga/temporal/interval.py . Perhaps you might create a similar to_hour_tex there as well.