nextcloud / nextcloud/polls

Add bulk import for date polls

Open
#2,371 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
284
Forks
91
Avg merge
4d 3h
Merged PRs (30d)
50

Description

Describe the goal you'd like to achieve

As a poll owner, I want to be able to do a bulk import for date polls.

Describe possible solutions

See #2339

Additional context

Since implementing a locale-aware date string parser is incredibly hard, I'd recommend you not to try. You better force ISO 8601 dates. If you do so, date string parsing is as simple as calling moment(string, moment.ISO_8601) (don't use moment(string), as it's a wrapper around the discouraged Date.parse() function).

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 by reading issue #2339 to understand the existing bulk-import design and how date polls should fit it. Use Moment's ISO 8601 parsing guidance from this issue, and consider the work done when date-poll data can be imported using ISO 8601 dates without relying on locale-aware parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.