Ability to enter date range with two timezones
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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