nextcloud / nextcloud/tables

One more advanced date filter

Open
#2,257 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage enhancement
Dominant language
JavaScript
Stars
214
Forks
52
Avg merge
1d 10h
Merged PRs (30d)
82

Description

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

I'm making a simple work time tracking based on Tables with just 3 columns: Date, Time spent and description.
I have base table with all records and view for current month with "Current month" filter but I need one more view for previous month so I can clearly see how much time I work from home last month in first days of current month to make report. Wich is not currently possible as dynamic filter.

Describe the solution you'd like

Add filter preset "Previous month"

Describe alternatives you've considered

Currently I'm using "Number days ago" with value 31 wich have edge cases with february and 30-days months.
Otherwise I have to manualy change filters every month

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

No file or test is named. Start by locating the existing date-filter implementation and the current-month preset, then trace how date ranges handle month boundaries. Done means a Previous month preset is available and correctly covers the preceding calendar month, including February and 30-day months.

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
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.