nextcloud / nextcloud/calendar

Full day event doesn't consider user timezone

Open
#6,895 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Steps to reproduce
  1. Create a full day event
  2. Look into upcoming events box in top bar in Talk
  3. you see that event is starting at 2 am rather midnight
Expected behavior

Expect starting time at midnight.

Actual behavior

It shows 2 am . I am in CET timezone and timestamp in UTC
https://github.com/nextcloud/server/blob/9836e9b16484582d309c8437ab46d82e34956941/apps/dav/lib/CalDAV/UpcomingEventsService.php#L54

Calendar app version

No response

CalDAV-clients used

No response

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

No response

Updated from an older installed version or fresh install

None

List of activated apps

Nextcloud configuration

Web server error log

Log file

Browser log

Additional info

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 with apps/dav/lib/CalDAV/UpcomingEventsService.php at the linked line and trace how a full-day event's timestamp is prepared for the Talk upcoming-events box. Reproduce the issue with a CET user and verify that the event starts at local midnight rather than 2 am.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.