Skip to content

Time zone conversion support #161

Closed
@perette

Description

@perette

The project I'm working on deals with timezones, so I've ended up writing code that convert events to a timezone by changing the timezones on the start & end times; standard and all-day events get handled differently, since a time-based event changes displayed times as it moves timezones, but all-day events always run midnight to midnight in whatever timezone they are in, based on their dates.

I think these might be useful to the library. I was thinking following the datetime manner, so Event.astimezone(tz=zone) and, to do everything in a calendar, Calendar.astimezone(tz=zone).

If these would be utilitarian, I'd be glad to add them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions