Times are calculated on your device from sun and moon positions (Meeus algorithms, Lahiri ayanamsa) for the chosen place. Festival dates follow standard Smarta rules; your temple or family panchang may differ by a day near tithi boundaries. If you have a health condition, are pregnant or take regular medication, talk to your doctor before a nirjala fast and choose phalahar instead.