Skip to content

Commit

Permalink
log changes
Browse files Browse the repository at this point in the history
  • Loading branch information
niccokunzmann committed Nov 21, 2024
1 parent 95c023d commit a5bc3bd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ Minor changes:
- Document component classes with description from :rfc:`5545`.
- Merge "File Structure" and "Overview" sections in the docs. See `Issue 626 <https://github.com/collective/icalendar/issues/626>`_.
- Update code blocks in usage.rst with the correct lexer.
- Improve typing and fix typing issues

Breaking changes:

Expand All @@ -34,6 +35,13 @@ New features:
- Add ``Alarm.ACKNOWLEDGED``, ``Alarm.TRIGGER``, ``Alarm.REPEAT``, and ``Alarm.DURATION`` properties
as well as ``Alarm.triggers`` to calculate alarm triggers.
- Add ``__doc__`` string documentation for ``vDate``, ``vBoolean``, ``vCalAddress``, ``vDuration``, ``vFloat``, ``vGeo``, ``vInt``, ``vPeriod``, ``vTime``, ``vUTCOffset`` and ``vUri``. See `Issue 742 <https://github.com/collective/icalendar/issues/742>`_.
- Add ``DTSTART``, ``TZOFFSETTO``, and ``TZOFFSETFROM`` to ``TimezoneStandard`` and ``TimezoneDaylight``
- Use ``example`` methods of components without arguments.
- Add ``events``, ``timezones``, and ``todos`` property to ``Calendar`` for nicer access.
- To calculate which timezones are in use and add them to the ``Calendar`` when needed these methods are added: ``get_used_tzids``, ``get_missing_tzids``, and ``add_missing_timezones``.
- Identify the TZID of more timezones from dateutil.
- Identify totally unknown timezones using a UTC offset lookup tree generated in ``icalendar.timezone.equivalent_timezone_ids`` and stored in ``icalendar.timezone.equivalent_timezone_ids``.
- Add ``icalendar.timezone.tzid`` to identify a timezone's TZID.

Bug fixes:

Expand Down
2 changes: 1 addition & 1 deletion src/icalendar/timezone/equivalent_timezone_ids.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def generate_tree(
f.write("import datetime\n\n")
f.write(f"\nlookup = ")
pprint(lookup, stream=f)
f.write("\n\n__all__ = ['lookup', 'dates']\n")
f.write("\n\n__all__ = ['lookup']\n")

return lookup

Expand Down
2 changes: 1 addition & 1 deletion src/icalendar/timezone/equivalent_timezone_ids_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,4 +808,4 @@
datetime.timedelta(seconds=50400): {'Etc/GMT-14'}})


__all__ = ['lookup', 'dates']
__all__ = ['lookup']

0 comments on commit a5bc3bd

Please sign in to comment.