Wykres commitów

1395 Commity (b51fef6e9ad74c7990d872ded333db9ffa87f47c)

Autor SHA1 Wiadomość Data
Nicco Kunzmann 0fdbdfb997
Merge pull request #561 from vimpostor/localdatetime 2023-09-29 07:36:31 +01:00
Magnus Groß 1e0c78ff8e
cli: Display datetimes in local timezone
Previously the start and end datetimes were always printed out in the
timezone that they appear in the calendar entry.

In 7a8d584b duration support was added and an attempt was already made
to display the datetime in the local timezone. Unfortunately in that
specific case the `start.astimezone(start.tzinfo)` is a no-op and does
absolutely nothing. Unlike the name suggests, `astimezone()` adjusts the
date and time data, such that they match the passed tzinfo, but since
that is the same timezone data as before, nothing changes. [0]

In order to properly convert to the user's local timezone, we need to
call the method with no arguments.

With this the timezone is always properly displayed, which makes up for
a much nicer UX for users of the cli.

The test has to be adapted to expect the datetime in the local timezone,
hence we cannot hardcode the entire expected string anymore.

[0] https://docs.python.org/3/library/datetime.html#datetime.datetime.astimezone
2023-09-28 22:12:15 +02:00
Jaca ed2c8cc335
Merge pull request #560 from jacadzaca/release-5.0.10
version 5.0.10
2023-09-26 20:32:33 +02:00
jaca 48e2a681af
version 5.0.10 2023-09-26 20:29:23 +02:00
Jaca 6b9d794a8f
Merge pull request #559 from Zocker1999NET/fix-issue-557
Component._encode: merge instead of ignore parameters on natives
2023-09-24 14:44:57 +02:00
Felix Stupp 4042ba8efc
add changelog entry & credits for fixing #557 2023-09-24 14:33:59 +02:00
Felix Stupp 07f3c53953
Component._encode: merge parameters
Signed-off-by: Felix Stupp <felix.stupp@banananet.work>
2023-09-24 14:25:22 +02:00
Felix Stupp 61ed4d716a
Component._encoding: only skip factory for natives
Signed-off-by: Felix Stupp <felix.stupp@banananet.work>
2023-09-24 14:25:21 +02:00
Felix Stupp 392deb69b7
add test cases for Component._encoding concerning #557
Signed-off-by: Felix Stupp <felix.stupp@banananet.work>
2023-09-24 14:25:19 +02:00
Felix Stupp 0111be3292
Component._encode: convert to staticmethod
- did not reference self at all
- keeps compatibility with existing code
- makes testing easier

Signed-off-by: Felix Stupp <felix.stupp@banananet.work>
2023-09-24 14:25:15 +02:00
Nicco Kunzmann 4d6aacb1c9 Add new CHANGELOG section for future release
See https://icalendar.readthedocs.io/en/latest/maintenance.html#new-releases
2023-09-24 10:59:08 +01:00
Nicco Kunzmann 1623e635f4
Merge pull request #558 from niccokunzmann/release
version 5.0.9
2023-09-24 10:55:02 +01:00
Nicco Kunzmann 98fe960ad3 version 5.0.9 2023-09-24 10:46:46 +01:00
Jaca 5ab1846d9c
Merge pull request #556 from niccokunzmann/period_timezone
Add timezone to period value types
2023-09-22 17:15:08 +02:00
Nicco Kunzmann 4c055a6213 Add timezone to period value types
The time zone was missing from PERIOD values.
See https://github.com/niccokunzmann/python-recurring-ical-events/issues/113
2023-09-19 15:05:34 +01:00
Nicco Kunzmann df769f8869 Add new CHANGELOG section for future release
See https://icalendar.readthedocs.io/en/latest/maintenance.html#new-releases
2023-09-18 09:57:15 +01:00
Nicco Kunzmann 7079fe188d
Merge pull request #555 from niccokunzmann/release
version 5.0.8
2023-09-18 09:52:04 +01:00
Nicco Kunzmann a10268584f version 5.0.8 2023-09-18 09:49:37 +01:00
Jaca 52d5cea2b0
Merge pull request #554 from scop/patch-1
Fix `vText.__repr__` `BytesWarning`
2023-09-17 10:37:35 +02:00
Ville Skyttä c13af2b5d9 Fix `vText.__repr__` `BytesWarning`
Exposed by running in `python3 -b` mode.
2023-09-17 11:30:19 +03:00
Nicco Kunzmann 923666a998
Merge pull request #553 from bobflorian/master 2023-09-16 08:23:03 +01:00
Bob Florian e8c6f8b04d
Update CHANGES.rst 2023-09-15 11:21:36 -05:00
Bob Florian c1527336df
Update about.rst
updated about.rst to include details that the repo is not obsolete and  still compliant with RFC5545
2023-09-15 11:19:28 -05:00
Jaca 403ca84d88
Merge pull request #547 from niccokunzmann/issue-152
Add documentation about parsing
2023-09-06 19:54:04 +02:00
Nicco Kunzmann 16d2e85a11
Merge pull request #550 from jacadzaca/fix-526 2023-09-02 08:40:54 +02:00
jaca 2dfd51cf59
dont treat components with a subset of other a larger components' subcomponents as equal to the bigger component 2023-09-01 20:34:32 +02:00
jaca 4f0028663e
dont repeat parameter list in test_comparing_calendars 2023-09-01 20:29:07 +02:00
jaca 088eea77e1
fix #526 2023-09-01 15:35:50 +02:00
Jaca 8fb3353408
Merge pull request #545 from niccokunzmann/issue-165
Check that event is included in parsing
2023-08-31 08:05:59 +02:00
Nicco Kunzmann fe2e5df3bb Add changelog entry 2023-08-30 17:56:23 +01:00
Nicco Kunzmann 078ae71502 Add changelog entry 2023-08-30 17:54:59 +01:00
Nicco Kunzmann 032a553d56 Add tests to reproduce issue #27 2023-08-30 17:49:55 +01:00
Nicco Kunzmann 55879e3f93 Add documentation about parsing
see https://github.com/collective/icalendar/issues/152
2023-08-30 17:33:21 +01:00
Nicco Kunzmann 2e0388ec21 Check that event is included in parsing
This fixes https://github.com/collective/icalendar/issues/165
2023-08-30 16:53:34 +01:00
Jaca 6c53290043
Merge pull request #539 from collective/update-read-the-docs
Update read the docs
2023-08-30 17:26:49 +02:00
Jaca 326311b789
Merge pull request #530 from niccokunzmann/update-CI
Move pip cache into Python setup
2023-08-30 17:24:14 +02:00
Nicco Kunzmann fef2afbfd4 Update changelog 2023-08-30 08:42:48 +01:00
Nicco Kunzmann 1753446576 Update readthedocs config
see https://docs.readthedocs.io/en/stable/config-file/v2.html#build-os
> The configuration key build.os is required to build your documentation.
2023-08-30 08:40:09 +01:00
Nicco Kunzmann 0337179a0f Add keys for caching 2023-08-30 07:48:55 +01:00
Nicco Kunzmann bee11c8b38 Move pip cache into Python setup
This is now possible:
https://github.com/actions/setup-python#caching-packages-dependencies
2023-08-30 07:36:47 +01:00
Nicco Kunzmann b54e81b21f
Merge pull request #528 from collective/maurits-no-more-plone-tests 2023-08-28 11:38:59 +01:00
Maurits van Rees 237ad02449
No longer run the plone.app.event tests.
Also, run the Python 3.11 tests with the latest Python 3.11, instead of a release candidate.

In the last two weekly cron tests, the plone tests fail with:

    ModuleNotFoundError: No module named 'plone.app.event'

I see the same locally.  I have no idea why.  But this seems a good time to stop running the `plone.app.event` tests within `icalendar`.
2023-08-28 11:57:08 +02:00
Nicco Kunzmann b8ff114a27
Merge pull request #516 from collective/niccokunzmann-patch-2
Update maintenance.rst
2023-06-22 15:36:15 +01:00
Jaca b0ffff880b
Merge pull request #523 from jacadzaca/release-5.0.7
version 5.0.7
2023-05-29 18:16:46 +02:00
jaca 989e3f456a
version 5.0.7 2023-05-29 18:09:46 +02:00
Jaca d2daec8a4c
Merge pull request #522 from semiprime/issue518
Fix for issue 518 (to_ical() with RRULE BYDAY values>=10)
2023-05-29 18:01:42 +02:00
Matt Lewis e42b719cba Fixed Issue 518 (RRULE BYDAY=xMO with x>=10 raises ValueError with to_ical()): updated WEEKDAY_RULE regex to accept 2 digits. Added tests for to_ical() covering various BYDAY values. 2023-05-29 13:52:34 +02:00
Jaca abd25fd907
Merge pull request #521 from jacadzaca/release-5.0.6
version 5.0.6
2023-05-26 20:54:03 +02:00
jaca 326cd0164d
version 5.0.6 2023-05-26 20:46:35 +02:00
Jaca 542efd2acb
Merge pull request #520 from NikEasY/master
refactored DURATION_REGEX
2023-05-26 20:31:37 +02:00