Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasks have incorrect time slot in calendar view #6603

Open
yoriloco opened this issue Jan 2, 2025 · 1 comment
Open

Tasks have incorrect time slot in calendar view #6603

yoriloco opened this issue Jan 2, 2025 · 1 comment

Comments

@yoriloco
Copy link

yoriloco commented Jan 2, 2025

Steps to reproduce

  1. Create a task on the Tasks tab
  2. Assign a value for Set start date and Set due date
  3. Go to the calendar tab and look for the newly added task
  4. Task shows up but does not have the correct slot assigned to it

Example: Create a task on January 1 2025 that starts at 6:00AM and ends january 1 2025 at 10:00AM. Switch to calendar view. Task will be displayed but the tast will show a slot from 10:00AM to 10:30AM (not the 6:00AM to 10:00AM slot that was assigned)

Image

Expected behavior

Expect calendar to show the task at the appropriate time slot.

Image

Actual behaviour

Currently it doesnt matter the assigned time slot, the task is being display at the assinged end time with a 30min slot

Image

Tasks app version

0.16.1

CalDAV-clients used

NextClound webclient

Browser

firefox

Client operating system

Windows 10

Server operating system

Ubuntu

Web server

Apache

Database engine version

MariaDB

PHP engine version

PHP 8.2

Nextcloud version

30.0.4

Updated from an older installed version or fresh install

Fresh install

List of activated apps


Nextcloud configuration


Web server error log


Log file


Browser log


Additional info

No response

@yoriloco yoriloco added the bug label Jan 2, 2025
@raimund-schluessler
Copy link
Member

That is a design choice of the Calendar app, and not a bug in the Tasks app. Moving to the Calendar repository.
The respective code is here:

// For tasks, we only want to display when it is due,
// not for how long it has been in progress already
jsStart = object.endDate.getInTimezone(timezone).jsDate
jsEnd = object.endDate.getInTimezone(timezone).jsDate

@raimund-schluessler raimund-schluessler transferred this issue from nextcloud/tasks Jan 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants