pimutils / pimutils/khal

Ability to enter date range with two timezones

Open
#804 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

A flight across timezones takes off and lands at different times in timezones, but I cannot convey that to khal, because while it can read in a timezone, it only honours one for both timestamps. I.e. khal new 08:00 Pacific/Auckland 10:00 Australia/Sydney Flight QF161 yields an event that ends after only 2 hours (not 4), and with a description "Australia/Sydney Flight QF161", i.e. the second timezone spills into the description.

Please let me specify an (optional) timezone for each timestamp.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the khal new command and trace how its two timestamp arguments and timezone text are parsed. Verify that each timestamp can accept an optional timezone, that the resulting event uses both timezones to calculate its duration, and that timezone text is not placed in the description.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.