nextcloud-libraries / nextcloud-libraries/nextcloud-vue

Add possibility to ignore colon when typing "Hour" field in "Due date"

Open
#4,818 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop feature: datepicker
Dominant language
Vue
Stars
246
Forks
99
Avg merge
1d 20h
Merged PRs (30d)
103

Description

Originally posted in https://github.com/nextcloud/tasks/issues/2394#issue-1989355175 by @wiktor2200

Is your feature request related to a problem? Please describe.

Hello! I would like to propose a feature known from lost of Calendar and management solutions. When typing a hour in "Due date" field, there is a need to type whole expression e.g. 09:00 which causes constant misinterpreration when you are used to typing hour without : char.

Describe the solution you'd like

It would be great if as input it would be possible to give any of: 900, 0900 or 09:00 and all three possibilities would be parsed as 09:00.
For 24h version and hours above 12:00, let's have similar for 2 options: 13:00 and 1300 both should be parsed to 13:00 field.
screenshot_tasks

Describe alternatives you've considered

No response

Additional context

No response

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 at the Vue.js component that implements the Due date field's Hour input; no file or test is named in the issue. Check how hour values are currently parsed, then verify that 900, 0900, 09:00, 1300, and 13:00 produce the corresponding formatted times.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.