Georges Basile Stavracas Neto
b064a23dbc
tests/event: Fix string leak
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/664 >
2025-11-19 17:14:37 -03:00
Titouan Real
42f891ff42
gui/event-editor: Add time zone selection
...
Creates a chooser managing a GDateTime. The chooser allows the user
to change the date, the time and the timezone independently.
This replaces the precedent GcalTimeChooserRow widget, because it is
easier to manage the different interactions with the user in a single
widget.
Co-authored-by: Georges Basile Stavracas Neto
<georges.stavracas@gmail.com >
2025-01-31 19:37:26 -03:00
Felipe Anibal
f3c3ff55af
tests: add event_date_check_tz
...
Add test to check the timezone of events.
See https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/171
2024-07-12 11:39:14 -03:00
Daniel Garcia Moreno
3793001bb8
test: Add event_date_create_tzid
...
This new test check that the tz data in the component is set correctly
on creation when it's UTC midnight.
See https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/172
2023-11-09 20:59:59 +00:00
Daniel Garcia Moreno
68c921bf60
test: Add event_date_edit_tzid
...
This new test check that the tz data in the component is set correctly
after editing an event date end.
See https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/170
2023-11-09 20:59:59 +00:00
Daniel Garcia Moreno
20aa929966
event: Set dt_end to next day when DTEND is not defined
...
from RFC5545 (p. 54) https://datatracker.ietf.org/doc/html/rfc5545#page-54
For cases where a "VEVENT" calendar component specifies a "DTSTART"
property with a DATE value type but no "DTEND" nor "DURATION" property,
the event's duration is taken to be one day.
Fix https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/327
2023-11-09 14:37:09 +00:00
Georges Basile Stavracas Neto
075b91d279
tests: Set bug base
2023-03-05 11:24:49 -03:00
Georges Basile Stavracas Neto
dbd81f401c
event: Add API to clone events
...
This will be useful for updating events without having
to keep track of the event states.
Add the new API, and also a unit test.
2020-06-15 13:07:48 -03:00
Georges Basile Stavracas Neto
d18441204f
tests: Trivial cleanup
2020-06-15 13:07:37 -03:00
Georges Basile Stavracas Neto
7811b90730
tests: Fix test suite
...
Introduce a new GcalStubCalendar class that essentially
removes the ECalClient initialization from GcalCalendar,
and use it as part of a new private library consumed by
the tests.
2019-05-04 12:05:39 -03:00
Georges Basile Stavracas Neto
68943eec57
utils: Add GDateTime utils
...
This will greatly help with the transition to GDateTime.
In the future, we can propose these APIs to GLib itself.
2019-04-26 12:59:29 -03:00
Georges Basile Stavracas Neto
f17c7b91b8
tests: Set TZ before running tests
...
Otherwise, we're depending on the host machine to run
the tests.
2018-07-31 12:35:56 -03:00
Georges Basile Stavracas Neto
bc0744cc0d
tests: update multiday test
...
Until we have a better control over the system timezone,
let's not hit that issue.
2018-04-30 20:45:46 -03:00
Georges Basile Stavracas Neto
41c8804450
tests: add more event tests
2018-02-27 14:57:34 -03:00
Georges Basile Stavracas Neto
c51957f214
test: properly initialize variables
2018-02-26 23:39:15 -03:00
Georges Basile Stavracas Neto
bc3a41d96c
tests: Add event test
2018-02-26 23:18:54 -03:00