Dates come from the Umm al-Qura calendar. If your local mosque begins the month a day earlier or later, shift everything to match under Settings → Hijri adjustment.