Skip to content

🐛 Bug: Incorrect Muhurat Day Calculation #17

@tarun6k

Description

@tarun6k

🐛 Bug: Incorrect Muhurat Day Calculation

Description

Based on verified knowledge and reference sources, the muhurat day calculation is incorrect. The day associated with the calculated muhurat does not match expected Panchang-based results.

Screenshot

Muhurat Day Issue

Replace the above path with the actual screenshot or drag & drop the image directly into the GitHub issue.

Steps to Reproduce

  1. Open the website
  2. Navigate to the "Muhurat" section
  3. Enter required details (date, location, etc.)
  4. Generate muhurat
  5. Check the calculated muhurat day

Expected Behavior

  • Muhurat day should be accurately calculated based on Panchang rules
  • Results should match trusted astrological references

Actual Behavior

  • Incorrect day is displayed for the muhurat
  • Output does not align with expected calculations

Possible Cause

  • Error in day calculation logic
  • Incorrect handling of timezone or sunrise-based day transitions
  • Issues in Panchang algorithm implementation
  • Mismatch in calendar system conversion (Gregorian vs Hindu calendar)

Suggested Fix

  • Review and validate day calculation logic
  • Ensure correct handling of sunrise-based day definitions
  • Cross-check with reliable Panchang data sources
  • Add validation tests for muhurat day calculations

Environment

  • Device: Desktop / Mobile
  • Browser: All major browsers
  • OS: All

Additional Notes

This issue affects the accuracy and trustworthiness of the muhurat feature, which is critical for users relying on precise astrological calculations.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions