The Hindu calendar, explained for developers
Reference guides for anyone building calendar features: what the elements of a panchang are, how they are computed, and where software usually gets them wrong. No interpretation, just the calendar.
Calendar concepts
Computation and timezones
Why festival dates differ outside India
Local sunrise, sunset and timezones can move the civil date of an observance.
Which sunrise?
Upper limb, refraction and elevation: why almanacs disagree by minutes.
Lahiri ayanamsa and sankranti times
Why one arcminute of ayanamsa moves a sankranti by about 24 minutes.
Daylight saving pitfalls
Missing and repeated hours, and the tests every calendar implementation needs.
More on the blog
Rather not build all of this yourself?
TithiKit is a planned API that handles these cases and documents every rule.