Skip to content

Incorrect year and month number when giving month rollover #26

Description

@iqfareez

Steps to reproduce

  1. Call https://api.waktusolat.app/v2/solat/PRK07?year=2025&month=13

Actual

Image

Expected

Year 2025, Month 13, should be resolved to Year 2026, Month 1. Month values greater than 12 will roll over to the following year.

    "zone": "PRK07",
    "year": 2026,
    "month": "JAN",
    "month_number": 1,
    "last_updated": null,

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions