nextcloud / nextcloud/calendar
24-hour military time entry
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Is your feature request related to a problem? Please describe.
I would like if the calendar would accept military-style time entry (e.g. 1300 -> 1:00 PM / 13:00, or 1747 -> 5:47 PM / 17:47) instead of simply ignoring such input. This significantly speeds up time entry (especially using numpad), and this functionality is present in many other calendars (including Google Calendar and Outlook, to name a few) and many other software applications.
Describe the solution you'd like
I'd like if entering four digits in a row is read as 24-hour time and converted appropriately.
Describe alternatives you've considered
The alternative is the current state, which is that such entry is simply ignored and reverted when leaving the textbox.
Additional context
The specification is described in Chapter 3, paragraphs 326–328 of the October 2010 CCEB ACP 121(I).
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 by locating the calendar's time-entry field and the validation or conversion logic that currently rejects four-digit input. Check how existing 12-hour and 24-hour values are handled, then verify that inputs such as 1300 and 1747 are accepted and converted to the corresponding displayed times without regressing current entry behavior.
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
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100