Skip to content

Value Error for year = 0 at Calendar#302

Merged
CodePokeX merged 4 commits intoIEEE-NITK:mainfrom
MysteriousCoder7:CalendarCount
Jan 27, 2026
Merged

Value Error for year = 0 at Calendar#302
CodePokeX merged 4 commits intoIEEE-NITK:mainfrom
MysteriousCoder7:CalendarCount

Conversation

@MysteriousCoder7
Copy link
Copy Markdown
Contributor

Description

Implementation of fix for the Value Error = 0 for Query year = 1 and month = 1 in the calendar page.

Fixes # (issue)

Dependencies

List any dependencies that are required for this change.

Type of Change

What types of changes does your code introduce?
Put an x in the boxes that apply

  • New feature (non-breaking change which adds functionality)
  • [x ] Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration. (for bug fix / breaking change)
Put an x in the boxes that apply

  • Test A
  • Test B

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

@MysteriousCoder7 MysteriousCoder7 changed the title Added exception of Value error year = 0by redirecting to current date… Value Error for year = 0 at Calendar Jan 23, 2026
Comment thread corpus/newsletter/views.py
@CodePokeX CodePokeX merged commit 99f5bdb into IEEE-NITK:main Jan 27, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants