Skip to content

Add ical_value property to VDatetime - #1991

Merged
stevepiercy merged 35 commits into
PyCalendar:mainfrom
Mrbozz:main
Nov 13, 2026
Merged

stevepiercy merged 35 commits into
PyCalendar:mainfrom
Mrbozz:main

Conversation

@Mrbozz

@Mrbozz Mrbozz commented Oct 21, 2026

Copy link
Copy Markdown
Contributor
Contribuites to issue #876

AI: I used Claude sonnet 5.5. It was used to:

  • Sumarize a bit of the modules I was working with
  • help me draft the tests
  • Review the code/docsstrings to verify if everything was alright

Linked issue

Description

Added an Ical_value property to vDatetime and added some tests related to it

Checklist

  • I added a change log entry, following the instructions in all subsections under Change log requirements.
  • I followed icalendar's Artificial intelligence policy and disclosed my Responsible AI use in my commit messages, if applicable.
  • I added or updated tests, if applicable.
  • I ran and ensured all tests pass locally by following Run tests.
  • I added or edited documentation as necessary, both as docstrings to be rendered in the API documentation and narrative documentation, following the Style guide.

Mrbozz and others added 2 commits October 20, 2026 23:49
Added and documented the ical_value property, which returns the datetime
held by vDatetime, and added tests for it.

AI: I used Claude sonnet 5.5. It was used to:
- Sumarize a bit of the modules I was working with
- help  me draft the tests
- Review the code/docsstrings to verify if  everything was alright
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for the pull request, @Mrbozz! A maintainer will review it shortly.

@github-actions

Copy link
Copy Markdown
Contributor

Insufficient data

Not enough activity yet to make a reliable assessment.

View full analysis →

This is an automated analysis by AgentScan

@github-actions github-actions Bot added the ai-suspicion This contribution is possibly created with lots of AI help without enough human understanding. label Oct 21, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This pull request did not pass quality checks and AI use is suspected. Please review Contribute and make any necessary amendments.

@niccokunzmann niccokunzmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is technically correct. Can you check if you have formatted the code and also the style?

We have the procedures documented. Let me know if you need help finding them.

Comment thread src/icalendar/prop/dt/datetime.py Resolved

@niccokunzmann niccokunzmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I left some suggestions....

Comment thread news/876.feature Resolved
Comment thread src/icalendar/prop/dt/datetime.py Resolved

@stevepiercy stevepiercy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution! I made a few suggestions. Would you please take care?

Comment thread news/876.feature Resolved
Comment thread src/icalendar/prop/dt/datetime.py Resolved
niccokunzmann
niccokunzmann previously approved these changes Oct 22, 2026

@niccokunzmann niccokunzmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I pass this to @stevepiercy

angatha
angatha previously approved these changes Oct 25, 2026

@angatha angatha left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Technically fine

@niccokunzmann

Copy link
Copy Markdown
Member

@Mrbozz I think, you might need to rename the changelog entry now, adding a number like .1 at the end of the file.

@stevepiercy stevepiercy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mrbozz thanks for your patience for a review and your contribution. I made a suggestion for a tweak to the docstring wording, and for a new test. Would you please take care? Thank you!

Comment thread src/icalendar/prop/dt/datetime.py Resolved
Mrbozz and others added 7 commits November 10, 2026 08:18
Co-authored-by: Steve Piercy <web@stevepiercy.com>
…tzinfo is been set to none when no timezone is given
A sugestion about the docstring was made , but when I applied it didnt delete the previous line so it was doubled, now I deleted the previous line

@stevepiercy stevepiercy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add line break for legibility. I'll commit this one.

Comment thread src/icalendar/prop/dt/datetime.py Resolved

@stevepiercy stevepiercy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll commit this change, too.

@stevepiercy
stevepiercy enabled auto-merge (squash) November 13, 2026 22:43

@stevepiercy stevepiercy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Mrbozz thank you! This is good to automerge, once CI passes.

Comment thread src/icalendar/prop/dt/datetime.py Resolved

@stevepiercy stevepiercy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, now I really approve.

@stevepiercy

Copy link
Copy Markdown
Member

Wonky docs

Screenshot 2026-11-13 at 2 57 06 PM

De-wonkified docs

Screenshot 2026-11-13 at 2 57 42 PM

@stevepiercy
stevepiercy merged commit 982640a into PyCalendar:main Nov 13, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-suspicion This contribution is possibly created with lots of AI help without enough human understanding.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants